Fix typo in error message
This commit is contained in:
parent
7ae3a5e79d
commit
bd9848d02f
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue