Fix typo in error message

This commit is contained in:
Andrew M. Kuchling 2000-07-12 02:58:28 +00:00
parent 7ae3a5e79d
commit bd9848d02f
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ PyObject *PyString_Decode(const char *s,
} }
if (!PyString_Check(str)) { if (!PyString_Check(str)) {
PyErr_Format(PyExc_TypeError, PyErr_Format(PyExc_TypeError,
"decoder did not return an string object (type=%.400s)", "decoder did not return a string object (type=%.400s)",
str->ob_type->tp_name); str->ob_type->tp_name);
Py_DECREF(str); Py_DECREF(str);
goto onError; goto onError;