diff options
author | Thomas Heller <theller@ctypes.org> | 2007-11-15 20:48:54 +0000 |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2007-11-15 20:48:54 +0000 |
commit | 4fa6bcee09872b3bed8306131962313b89b6b4ec (patch) | |
tree | 66f3e76b27c16c189d64671a9b95401a0679d452 /Objects/stringlib/unicodedefs.h | |
parent | 510a6627b1caead676d647a031fa7c4445e815cb (diff) | |
download | cpython-4fa6bcee09872b3bed8306131962313b89b6b4ec.tar.gz |
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 fa6140f224..64777bef3f 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 |