[Python-checkins] cpython (3.6): Issue #27358: Fix typo in error message

berker.peksag python-checkins at python.org
Sun Oct 2 06:06:33 EDT 2016


https://hg.python.org/cpython/rev/e2d4e077cfb2
changeset:   104245:e2d4e077cfb2
branch:      3.6
parent:      104243:7fe1f23ec60a
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Sun Oct 02 13:08:25 2016 +0300
summary:
  Issue #27358: Fix typo in error message

files:
  Python/ceval.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Python/ceval.c b/Python/ceval.c
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -2721,7 +2721,7 @@
                 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);

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list