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
|
@ -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…
Reference in New Issue