From 50add0483638caf947c18712160b8579e5f741fc Mon Sep 17 00:00:00 2001 From: Philip Jenvey Date: Sun, 6 Nov 2011 16:37:52 -0800 Subject: [PATCH] quote the type name for improved readability --- Python/bltinmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.47.3