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:
Neal Norwitz 2002-08-16 23:20:39 +00:00
parent 68ee0128a2
commit b898d9fc9a
1 changed files with 1 additions and 1 deletions

View File

@ -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;