[Python-checkins] cpython: quote the type name for improved readability
philip.jenvey
python-checkins at python.org
Mon Nov 7 01:38:12 CET 2011
http://hg.python.org/cpython/rev/bbc929bc2224
changeset: 73413:bbc929bc2224
parent: 73411:00d4d6b85a01
user: Philip Jenvey <pjenvey at underboss.org>
date: Sun Nov 06 16:37:52 2011 -0800
summary:
quote the type name for improved readability
files:
Python/bltinmodule.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -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;
}
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list