diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-11 22:14:32 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-11 22:14:32 (GMT) |
commit | d218bf14ccf60f659180229b625c16d2caf2a7c5 (patch) | |
tree | f1603d49d0fa294e26ed47b305a113a811f6c0a2 /Objects/stringlib/ucs2lib.h | |
parent | 4e10100dee015f9132122108eaf69fc1bc8369bf (diff) | |
download | cpython-d218bf14ccf60f659180229b625c16d2caf2a7c5.zip cpython-d218bf14ccf60f659180229b625c16d2caf2a7c5.tar.gz cpython-d218bf14ccf60f659180229b625c16d2caf2a7c5.tar.bz2 |
stringlib: Fix STRINGLIB_STR for UCS2/UCS4
Diffstat (limited to 'Objects/stringlib/ucs2lib.h')
-rw-r--r-- | Objects/stringlib/ucs2lib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringlib/ucs2lib.h b/Objects/stringlib/ucs2lib.h index 18117ef..e2e8c1b 100644 --- a/Objects/stringlib/ucs2lib.h +++ b/Objects/stringlib/ucs2lib.h @@ -18,7 +18,7 @@ #define STRINGLIB_TOUPPER Py_UNICODE_TOUPPER #define STRINGLIB_TOLOWER Py_UNICODE_TOLOWER #define STRINGLIB_FILL Py_UNICODE_FILL -#define STRINGLIB_STR PyUnicode_1BYTE_DATA +#define STRINGLIB_STR PyUnicode_2BYTE_DATA #define STRINGLIB_LEN PyUnicode_GET_LENGTH #define STRINGLIB_NEW _PyUnicode_FromUCS2 #define STRINGLIB_RESIZE not_supported |