]> granicus.if.org Git - python/commitdiff
Issue #27358: Fix typo in error message
authorBerker Peksag <berker.peksag@gmail.com>
Sun, 2 Oct 2016 10:08:25 +0000 (13:08 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Sun, 2 Oct 2016 10:08:25 +0000 (13:08 +0300)
Python/ceval.c

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