diff options
author | Thomas Heller <theller@ctypes.org> | 2007-11-15 20:48:54 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2007-11-15 20:48:54 (GMT) |
commit | 519a042c7c248e3ae23cf2a3c1152f91a5bd2791 (patch) | |
tree | 3eaef917fda4776da67d0426754f810e59d9f183 /Objects/stringlib/unicodedefs.h | |
parent | 6e8ea0fd9c46978cf3101bd3ea94022751464ad9 (diff) | |
download | cpython-519a042c7c248e3ae23cf2a3c1152f91a5bd2791.zip cpython-519a042c7c248e3ae23cf2a3c1152f91a5bd2791.tar.gz cpython-519a042c7c248e3ae23cf2a3c1152f91a5bd2791.tar.bz2 |
Replace PyObject_Unicode with PyObject_Str everywhere, and remove the
#define for PyObject_Unicode in object.h.
Diffstat (limited to 'Objects/stringlib/unicodedefs.h')
-rw-r--r-- | Objects/stringlib/unicodedefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringlib/unicodedefs.h b/Objects/stringlib/unicodedefs.h index fa6140f..64777be 100644 --- a/Objects/stringlib/unicodedefs.h +++ b/Objects/stringlib/unicodedefs.h @@ -20,7 +20,7 @@ #define STRINGLIB_NEW PyUnicode_FromUnicode #define STRINGLIB_RESIZE PyUnicode_Resize #define STRINGLIB_CHECK PyUnicode_Check -#define STRINGLIB_TOSTR PyObject_Unicode +#define STRINGLIB_TOSTR PyObject_Str #define STRINGLIB_WANT_CONTAINS_OBJ 1 |