mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +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 'U':
|
||||||
case 'N':
|
case 'N':
|
||||||
if (unicode) {
|
if (unicode) {
|
||||||
com_error(com, PyExc_ValueError,
|
PyErr_SetString(PyExc_ValueError,
|
||||||
"Unicode escapes not legal "
|
"Unicode escapes not legal "
|
||||||
"when Unicode disabled");
|
"when Unicode disabled");
|
||||||
goto failed;
|
goto failed;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue