Fix a compiler warning: don't define unicode_is_singleton() in release mode
This commit is contained in:
parent
b62a7b268a
commit
c729b8e92f
|
@ -243,7 +243,9 @@ static void copy_characters(
|
||||||
PyObject *to, Py_ssize_t to_start,
|
PyObject *to, Py_ssize_t to_start,
|
||||||
PyObject *from, Py_ssize_t from_start,
|
PyObject *from, Py_ssize_t from_start,
|
||||||
Py_ssize_t how_many);
|
Py_ssize_t how_many);
|
||||||
|
#ifdef Py_DEBUG
|
||||||
static int unicode_is_singleton(PyObject *unicode);
|
static int unicode_is_singleton(PyObject *unicode);
|
||||||
|
#endif
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
unicode_encode_call_errorhandler(const char *errors,
|
unicode_encode_call_errorhandler(const char *errors,
|
||||||
|
|
Loading…
Reference in New Issue