]> granicus.if.org Git - python/commitdiff
Fix typo in error message
authorAndrew M. Kuchling <amk@amk.ca>
Wed, 12 Jul 2000 02:58:28 +0000 (02:58 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Wed, 12 Jul 2000 02:58:28 +0000 (02:58 +0000)
Objects/stringobject.c

index 246e08061bf1ff7277e5db536420e848bf7fd2d4..f4b90e86372f403f4bdd69df79f2c5505ed23893 100644 (file)
@@ -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;