diff options
Diffstat (limited to 'Objects/classobject.c')
-rw-r--r-- | Objects/classobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/classobject.c b/Objects/classobject.c index df10aa2..cef1894 100644 --- a/Objects/classobject.c +++ b/Objects/classobject.c @@ -1839,7 +1839,7 @@ instance_getiter(PyInstanceObject *self) } PyErr_Clear(); if ((func = instance_getattr(self, getitemstr)) == NULL) { - PyErr_SetString(PyExc_TypeError, "iter() of non-sequence"); + PyErr_SetString(PyExc_TypeError, "iteration over non-sequence"); return NULL; } Py_DECREF(func); |