Commit b898d9fc authored by Neal Norwitz's avatar Neal Norwitz

Get this to compile again if Py_USING_UNICODE is not defined.

com_error() is static in Python/compile.c.
parent 68ee0128
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment