summaryrefslogtreecommitdiff
path: root/Objects/stringlib/unicodedefs.h
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2007-11-15 20:48:54 +0000
committerThomas Heller <theller@ctypes.org>2007-11-15 20:48:54 +0000
commit4fa6bcee09872b3bed8306131962313b89b6b4ec (patch)
tree66f3e76b27c16c189d64671a9b95401a0679d452 /Objects/stringlib/unicodedefs.h
parent510a6627b1caead676d647a031fa7c4445e815cb (diff)
downloadcpython-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.h2
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