diff options
author | Eric Smith <eric@trueblade.com> | 2009-04-27 20:39:49 (GMT) |
---|---|---|
committer | Eric Smith <eric@trueblade.com> | 2009-04-27 20:39:49 (GMT) |
commit | 6dc46f5eaa14c8aa33b8ae5b41642a00a1b25807 (patch) | |
tree | fc063968e5d131487c7418647e2cf4abf942cdff /Objects/stringlib/stringdefs.h | |
parent | 249b898ec7839cc022d5d0b7638284663a6edfb7 (diff) | |
download | cpython-6dc46f5eaa14c8aa33b8ae5b41642a00a1b25807.zip cpython-6dc46f5eaa14c8aa33b8ae5b41642a00a1b25807.tar.gz cpython-6dc46f5eaa14c8aa33b8ae5b41642a00a1b25807.tar.bz2 |
Merged revisions 72040 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72040 | eric.smith | 2009-04-27 15:04:37 -0400 (Mon, 27 Apr 2009) | 1 line
Issue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to py3k. Should fix Windows buildbot errors.
........
Diffstat (limited to 'Objects/stringlib/stringdefs.h')
-rw-r--r-- | Objects/stringlib/stringdefs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/stringlib/stringdefs.h b/Objects/stringlib/stringdefs.h index 1659315..a5672c7 100644 --- a/Objects/stringlib/stringdefs.h +++ b/Objects/stringlib/stringdefs.h @@ -13,8 +13,8 @@ #define STRINGLIB_EMPTY nullstring #define STRINGLIB_ISDECIMAL(x) ((x >= '0') && (x <= '9')) #define STRINGLIB_TODECIMAL(x) (STRINGLIB_ISDECIMAL(x) ? (x - '0') : -1) -#define STRINGLIB_TOUPPER toupper -#define STRINGLIB_TOLOWER tolower +#define STRINGLIB_TOUPPER Py_TOUPPER +#define STRINGLIB_TOLOWER Py_TOLOWER #define STRINGLIB_FILL memset #define STRINGLIB_STR PyBytes_AS_STRING #define STRINGLIB_LEN PyBytes_GET_SIZE |