Commit 50add048 authored by Philip Jenvey's avatar Philip Jenvey

quote the type name for improved readability

parent 0277aa3b
...@@ -1121,7 +1121,7 @@ builtin_next(PyObject *self, PyObject *args) ...@@ -1121,7 +1121,7 @@ builtin_next(PyObject *self, PyObject *args)
return NULL; return NULL;
if (!PyIter_Check(it)) { if (!PyIter_Check(it)) {
PyErr_Format(PyExc_TypeError, PyErr_Format(PyExc_TypeError,
"%.200s object is not an iterator", "'%.200s' object is not an iterator",
it->ob_type->tp_name); it->ob_type->tp_name);
return NULL; return NULL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment