summaryrefslogtreecommitdiffstats
path: root/Objects/stringobject.c
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2000-07-12 02:58:28 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2000-07-12 02:58:28 (GMT)
commitbd9848d02fa47c4e21c99b8afdcd35d28c3f309b (patch)
treeae0f4e6965ff1237206be47ee2b6e281869ad57e /Objects/stringobject.c
parent7ae3a5e79d8c2ebfc52245a72a39b672e3c70d4b (diff)
downloadcpython-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.c2
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;