summaryrefslogtreecommitdiff
path: root/Objects/stringlib/ctype.h
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/stringlib/ctype.h')
-rw-r--r--Objects/stringlib/ctype.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Objects/stringlib/ctype.h b/Objects/stringlib/ctype.h
index 739cf3d9eb..f0546256ed 100644
--- a/Objects/stringlib/ctype.h
+++ b/Objects/stringlib/ctype.h
@@ -1,5 +1,6 @@
-/* NOTE: this API is -ONLY- for use with single byte character strings. */
-/* Do not use it with Unicode. */
+#if STRINGLIB_IS_UNICODE
+# error "ctype.h only compatible with byte-wise strings"
+#endif
#include "bytes_methods.h"