quote the type name for improved readability
authorPhilip Jenvey <pjenvey@underboss.org>
Mon, 7 Nov 2011 00:37:52 +0000 (16:37 -0800)
committerPhilip Jenvey <pjenvey@underboss.org>
Mon, 7 Nov 2011 00:37:52 +0000 (16:37 -0800)
Python/bltinmodule.c

index 4d960b8d1c5b8847f3e6b32816bbbc6732be254a..871eaa3497817fe5c1567940a501a05bdd8e0df3 100644 (file)
@@ -1121,7 +1121,7 @@ builtin_next(PyObject *self, PyObject *args)
         return NULL;
     if (!PyIter_Check(it)) {
         PyErr_Format(PyExc_TypeError,
-            "%.200s object is not an iterator",
+            "'%.200s' object is not an iterator",
             it->ob_type->tp_name);
         return NULL;
     }