Issue #27358: Fix typo in error message

This commit is contained in:
Berker Peksag 2016-10-02 13:08:25 +03:00
parent 02e247fbe1
commit 8e9045d0d8

View file

@ -2721,7 +2721,7 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
if (PyDict_Update(sum, arg) < 0) { if (PyDict_Update(sum, arg) < 0) {
if (PyErr_ExceptionMatches(PyExc_AttributeError)) { if (PyErr_ExceptionMatches(PyExc_AttributeError)) {
PyErr_Format(PyExc_TypeError, PyErr_Format(PyExc_TypeError,
"'%.200s' object is not a mapping1", "'%.200s' object is not a mapping",
arg->ob_type->tp_name); arg->ob_type->tp_name);
} }
Py_DECREF(sum); Py_DECREF(sum);