Commit c729b8e9 authored by Victor Stinner's avatar Victor Stinner

Fix a compiler warning: don't define unicode_is_singleton() in release mode

parent b62a7b26
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment