diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-01-12 02:00:42 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-01-12 02:00:42 (GMT) |
commit | 21e0da228d158ec248be5c7db274a7bc54a51307 (patch) | |
tree | 0982086d2e9631949626820ee61dac8d4b8482cb /Objects/stringlib/stringdefs.h | |
parent | 22ef4fa7e9805312c83b595b27218443c367dcd0 (diff) | |
download | cpython-21e0da228d158ec248be5c7db274a7bc54a51307.zip cpython-21e0da228d158ec248be5c7db274a7bc54a51307.tar.gz cpython-21e0da228d158ec248be5c7db274a7bc54a51307.tar.bz2 |
remove some usage of Py_UNICODE_TOUPPER/LOWER
Diffstat (limited to 'Objects/stringlib/stringdefs.h')
-rw-r--r-- | Objects/stringlib/stringdefs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Objects/stringlib/stringdefs.h b/Objects/stringlib/stringdefs.h index 7d30059..fec9f18 100644 --- a/Objects/stringlib/stringdefs.h +++ b/Objects/stringlib/stringdefs.h @@ -18,8 +18,6 @@ #define STRINGLIB_ISLINEBREAK(x) ((x == '\n') || (x == '\r')) #define STRINGLIB_ISDECIMAL(x) ((x >= '0') && (x <= '9')) #define STRINGLIB_TODECIMAL(x) (STRINGLIB_ISDECIMAL(x) ? (x - '0') : -1) -#define STRINGLIB_TOUPPER Py_TOUPPER -#define STRINGLIB_TOLOWER Py_TOLOWER #define STRINGLIB_STR PyBytes_AS_STRING #define STRINGLIB_LEN PyBytes_GET_SIZE #define STRINGLIB_NEW PyBytes_FromStringAndSize |