mirror of
https://github.com/python/cpython.git
synced 2025-10-21 22:22:48 +00:00
Fix a compiler warning: don't define unicode_is_singleton() in release mode
This commit is contained in:
parent
b62a7b268a
commit
c729b8e92f
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue