From: Andrew M. Kuchling Date: Wed, 12 Jul 2000 02:58:28 +0000 (+0000) Subject: Fix typo in error message X-Git-Tag: v2.0b1~870 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bd9848d02fa47c4e21c99b8afdcd35d28c3f309b;p=thirdparty%2FPython%2Fcpython.git Fix typo in error message --- diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 246e08061bf1..f4b90e86372f 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;