mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +00:00
Fix typo in error message
This commit is contained in:
parent
7ae3a5e79d
commit
bd9848d02f
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ PyObject *PyString_Decode(const char *s,
|
|||
}
|
||||
if (!PyString_Check(str)) {
|
||||
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);
|
||||
Py_DECREF(str);
|
||||
goto onError;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue