diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2000-07-12 02:58:28 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2000-07-12 02:58:28 (GMT) |
commit | bd9848d02fa47c4e21c99b8afdcd35d28c3f309b (patch) | |
tree | ae0f4e6965ff1237206be47ee2b6e281869ad57e /Objects/stringobject.c | |
parent | 7ae3a5e79d8c2ebfc52245a72a39b672e3c70d4b (diff) | |
download | cpython-bd9848d02fa47c4e21c99b8afdcd35d28c3f309b.zip cpython-bd9848d02fa47c4e21c99b8afdcd35d28c3f309b.tar.gz cpython-bd9848d02fa47c4e21c99b8afdcd35d28c3f309b.tar.bz2 |
Fix typo in error message
Diffstat (limited to 'Objects/stringobject.c')
-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; |