summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorPhilip Jenvey <pjenvey@underboss.org>2011-11-07 00:37:52 (GMT)
committerPhilip Jenvey <pjenvey@underboss.org>2011-11-07 00:37:52 (GMT)
commit50add0483638caf947c18712160b8579e5f741fc (patch)
treeea34e4d936bd090c6d3fc91e7cf38ef795b54ceb /Python/bltinmodule.c
parent0277aa3b24c502af0166772fed830e0d2af6dfcf (diff)
downloadcpython-50add0483638caf947c18712160b8579e5f741fc.zip
cpython-50add0483638caf947c18712160b8579e5f741fc.tar.gz
cpython-50add0483638caf947c18712160b8579e5f741fc.tar.bz2
quote the type name for improved readability
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 4d960b8..871eaa3 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -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;
}