mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Get this to compile again if Py_USING_UNICODE is not defined.
com_error() is static in Python/compile.c.
This commit is contained in:
parent
68ee0128a2
commit
b898d9fc9a
1 changed files with 1 additions and 1 deletions
|
@ -619,7 +619,7 @@ PyObject *PyString_DecodeEscape(const char *s,
|
|||
case 'U':
|
||||
case 'N':
|
||||
if (unicode) {
|
||||
com_error(com, PyExc_ValueError,
|
||||
PyErr_SetString(PyExc_ValueError,
|
||||
"Unicode escapes not legal "
|
||||
"when Unicode disabled");
|
||||
goto failed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue