quote the type name for improved readability

This commit is contained in:
Philip Jenvey 2011-11-06 16:37:52 -08:00
parent 0277aa3b24
commit 50add04836

View File

@ -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;
}