Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bd9848d

Browse files
committed
Fix typo in error message
1 parent 7ae3a5e commit bd9848d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/stringobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ PyObject *PyString_Decode(const char *s,
176176
}
177177
if (!PyString_Check(str)) {
178178
PyErr_Format(PyExc_TypeError,
179-
"decoder did not return an string object (type=%.400s)",
179+
"decoder did not return a string object (type=%.400s)",
180180
str->ob_type->tp_name);
181181
Py_DECREF(str);
182182
goto onError;

0 commit comments

Comments
 (0)