Mercurial > cpython-lru_cache-weakref
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 28319:360a57805676 | 28320:fd5ef7003469 |
|---|---|
| 2012 0, /* tp_doc */ | 2012 0, /* tp_doc */ |
| 2013 (traverseproc)arrayiter_traverse, /* tp_traverse */ | 2013 (traverseproc)arrayiter_traverse, /* tp_traverse */ |
| 2014 0, /* tp_clear */ | 2014 0, /* tp_clear */ |
| 2015 0, /* tp_richcompare */ | 2015 0, /* tp_richcompare */ |
| 2016 0, /* tp_weaklistoffset */ | 2016 0, /* tp_weaklistoffset */ |
| 2017 PyObject_GenericGetIter, /* tp_iter */ | 2017 PyObject_SelfIter, /* tp_iter */ |
| 2018 (iternextfunc)arrayiter_next, /* tp_iternext */ | 2018 (iternextfunc)arrayiter_next, /* tp_iternext */ |
| 2019 0, /* tp_methods */ | 2019 0, /* tp_methods */ |
| 2020 }; | 2020 }; |
| 2021 | 2021 |
| 2022 | 2022 |
