diff Python/bltinmodule.c @ 73413:bbc929bc2224

quote the type name for improved readability
author Philip Jenvey <pjenvey@underboss.org>
date Sun, 06 Nov 2011 16:37:52 -0800
parents 992ba03d60a8
children 59dcb6249034
line wrap: on
line diff
--- a/Python/bltinmodule.c	Sun Nov 06 13:50:15 2011 -0600
+++ b/Python/bltinmodule.c	Sun Nov 06 16:37:52 2011 -0800
@@ -1121,7 +1121,7 @@
         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;
     }