commit | b898d9fc9a434eb9ae9d3d10d0f1d379492cd6f6 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Fri Aug 16 23:20:39 2002 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Fri Aug 16 23:20:39 2002 +0000 |
tree | 2161cc3796f562c875028e5376a4b99d1a0a25c6 | |
parent | 68ee0128a2e213ebf69a3ecc92a03310edf47c16 [diff] |
Get this to compile again if Py_USING_UNICODE is not defined. com_error() is static in Python/compile.c.
diff --git a/Objects/stringobject.c b/Objects/stringobject.c index bf1c58e..2626d3c 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c
@@ -619,7 +619,7 @@ case 'U': case 'N': if (unicode) { - com_error(com, PyExc_ValueError, + PyErr_SetString(PyExc_ValueError, "Unicode escapes not legal " "when Unicode disabled"); goto failed;