diff options
author | Philip Jenvey <pjenvey@underboss.org> | 2011-11-07 00:37:52 (GMT) |
---|---|---|
committer | Philip Jenvey <pjenvey@underboss.org> | 2011-11-07 00:37:52 (GMT) |
commit | 50add0483638caf947c18712160b8579e5f741fc (patch) | |
tree | ea34e4d936bd090c6d3fc91e7cf38ef795b54ceb | |
parent | 0277aa3b24c502af0166772fed830e0d2af6dfcf (diff) | |
download | cpython-50add0483638caf947c18712160b8579e5f741fc.zip cpython-50add0483638caf947c18712160b8579e5f741fc.tar.gz cpython-50add0483638caf947c18712160b8579e5f741fc.tar.bz2 |
quote the type name for improved readability
-rw-r--r-- | Python/bltinmodule.c | 2 |
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; } |