Mercurial > cpython-lru_cache-weakref
diff Objects/enumobject.c @ 28320:fd5ef7003469 legacy-trunk
Renamed PyObject_GenericGetIter to PyObject_SelfIter
to more accurately describe what the function does.
Suggested by Thomas Wouters.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Mon, 17 Mar 2003 19:46:11 +0000 |
| parents | 9c3572a5575f |
| children | 820d9570edeb |
line wrap: on
line diff
--- a/Objects/enumobject.c Mon Mar 17 18:36:37 2003 +0000 +++ b/Objects/enumobject.c Mon Mar 17 19:46:11 2003 +0000 @@ -110,7 +110,7 @@ 0, /* tp_clear */ 0, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - PyObject_GenericGetIter, /* tp_iter */ + PyObject_SelfIter, /* tp_iter */ (iternextfunc)enum_next, /* tp_iternext */ 0, /* tp_methods */ 0, /* tp_members */
