From 1da1dbf4586afbd6b5d5c3cf244a1a3ea0f4382b Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 17 Mar 2003 19:46:11 +0000 Subject: Renamed PyObject_GenericGetIter to PyObject_SelfIter to more accurately describe what the function does. Suggested by Thomas Wouters. --- Modules/arraymodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Modules/arraymodule.c') diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index ec4493563f..e361c9407c 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -2014,7 +2014,7 @@ static PyTypeObject PyArrayIter_Type = { 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 */ }; -- cgit v1.2.1