summaryrefslogtreecommitdiff
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 234bd01b76..21cafb3251 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,