commit | bd9848d02fa47c4e21c99b8afdcd35d28c3f309b | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Wed Jul 12 02:58:28 2000 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Wed Jul 12 02:58:28 2000 +0000 |
tree | ae0f4e6965ff1237206be47ee2b6e281869ad57e | |
parent | 7ae3a5e79d8c2ebfc52245a72a39b672e3c70d4b [diff] [blame] |
Fix typo in error message
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 @@ } 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;