diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-06 00:36:59 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-06 00:36:59 (GMT) |
commit | c729b8e92f044688e1b9d1cb24541c6f3d297415 (patch) | |
tree | 9610ff85679f4590b1f4e2cb33e9d7bfd1bb0acc /Objects | |
parent | b62a7b268af8d58e5565b44a38c923917d7b62fe (diff) | |
download | cpython-c729b8e92f044688e1b9d1cb24541c6f3d297415.zip cpython-c729b8e92f044688e1b9d1cb24541c6f3d297415.tar.gz cpython-c729b8e92f044688e1b9d1cb24541c6f3d297415.tar.bz2 |
Fix a compiler warning: don't define unicode_is_singleton() in release mode
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 234bd01..21cafb3 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -243,7 +243,9 @@ static void copy_characters( PyObject *to, Py_ssize_t to_start, PyObject *from, Py_ssize_t from_start, Py_ssize_t how_many); +#ifdef Py_DEBUG static int unicode_is_singleton(PyObject *unicode); +#endif static PyObject * unicode_encode_call_errorhandler(const char *errors, |