Mercurial > cpython-lru_cache-weakref
diff Objects/stringobject.c @ 13561:ea732719b3fd legacy-trunk
Fix typo in error message
| author | Andrew M. Kuchling <amk@amk.ca> |
|---|---|
| date | Wed, 12 Jul 2000 02:58:28 +0000 |
| parents | 3cf4f5aee00e |
| children | 61e4c29d53d8 |
line wrap: on
line diff
--- a/Objects/stringobject.c Wed Jul 12 02:56:15 2000 +0000 +++ b/Objects/stringobject.c Wed Jul 12 02:58:28 2000 +0000 @@ -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;
