summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-10-02 10:08:25 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-10-02 10:08:25 (GMT)
commit8e9045d0d8b612e5f8231e5c854625ff78a4b110 (patch)
treefb8667183b285c103b98e23feccbc71014ec7f7f
parent02e247fbe1a68920abd7fe5fbf6ad8119374f000 (diff)
downloadcpython-8e9045d0d8b612e5f8231e5c854625ff78a4b110.zip
cpython-8e9045d0d8b612e5f8231e5c854625ff78a4b110.tar.gz
cpython-8e9045d0d8b612e5f8231e5c854625ff78a4b110.tar.bz2
Issue #27358: Fix typo in error message
-rw-r--r--Python/ceval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index c443305..82cc9a2 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -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);