summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib/unicodedefs.h
diff options
context:
space:
mode:
authorEric Smith <eric@trueblade.com>2007-09-01 10:56:01 (GMT)
committerEric Smith <eric@trueblade.com>2007-09-01 10:56:01 (GMT)
commit37f10386f1bedb992f3d9770b2f71b5edda2abbe (patch)
tree7c258bc40124636d938c6f7d61840c29fb7952cd /Objects/stringlib/unicodedefs.h
parenta95207ab3bce39b8278fc479d1d391365ffc7a7c (diff)
downloadcpython-37f10386f1bedb992f3d9770b2f71b5edda2abbe.zip
cpython-37f10386f1bedb992f3d9770b2f71b5edda2abbe.tar.gz
cpython-37f10386f1bedb992f3d9770b2f71b5edda2abbe.tar.bz2
Changed to use 'U' argument to PyArg_ParseTuple, instead of manually checking for unicode objects.
Diffstat (limited to 'Objects/stringlib/unicodedefs.h')
-rw-r--r--Objects/stringlib/unicodedefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/stringlib/unicodedefs.h b/Objects/stringlib/unicodedefs.h
index a50a3f2..25c1d4f 100644
--- a/Objects/stringlib/unicodedefs.h
+++ b/Objects/stringlib/unicodedefs.h
@@ -8,6 +8,7 @@
#define STRINGLIB_CHAR Py_UNICODE
#define STRINGLIB_TYPE_NAME "unicode"
+#define STRINGLIB_PARSE_CODE "U"
#define STRINGLIB_EMPTY unicode_empty
#define STRINGLIB_ISDECIMAL Py_UNICODE_ISDECIMAL
#define STRINGLIB_TODECIMAL Py_UNICODE_TODECIMAL