diff options
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/stringobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 246e080..f4b90e8 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -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; |