mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
quote the type name for improved readability
This commit is contained in:
parent
0277aa3b24
commit
50add04836
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue