Mercurial > cpython-lru_cache-weakref
diff Modules/arraymodule.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 | 5c9dcdc7fe8d |
| children | bd678e65f784 |
line wrap: on
line diff
--- a/Modules/arraymodule.c Mon Mar 17 18:36:37 2003 +0000 +++ b/Modules/arraymodule.c Mon Mar 17 19:46:11 2003 +0000 @@ -2014,7 +2014,7 @@ 0, /* tp_clear */ 0, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - PyObject_GenericGetIter, /* tp_iter */ + PyObject_SelfIter, /* tp_iter */ (iternextfunc)arrayiter_next, /* tp_iternext */ 0, /* tp_methods */ };
