From: Philip Jenvey Date: Mon, 7 Nov 2011 00:37:52 +0000 (-0800) Subject: quote the type name for improved readability X-Git-Tag: v3.3.0a1~919 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=50add0483638caf947c18712160b8579e5f741fc;p=thirdparty%2FPython%2Fcpython.git quote the type name for improved readability --- diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 4d960b8d1c5b..871eaa349781 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; }