diff options
| author | Raymond Hettinger <python@rcn.com> | 2003-03-17 19:46:11 +0000 |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2003-03-17 19:46:11 +0000 |
| commit | a737242360041548cd01ff040d7a9446a278062c (patch) | |
| tree | 12307dadc3c487eb7f928237dc2af0dc88648f47 /Objects/rangeobject.c | |
| parent | 871f18e8cfbb0ab1b82ad64a1c104086cf8e1c0d (diff) | |
| download | cpython-a737242360041548cd01ff040d7a9446a278062c.tar.gz | |
Renamed PyObject_GenericGetIter to PyObject_SelfIter
to more accurately describe what the function does.
Suggested by Thomas Wouters.
Diffstat (limited to 'Objects/rangeobject.c')
| -rw-r--r-- | Objects/rangeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/rangeobject.c b/Objects/rangeobject.c index 5dbbf1376e..299f4a651f 100644 --- a/Objects/rangeobject.c +++ b/Objects/rangeobject.c @@ -281,7 +281,7 @@ static PyTypeObject Pyrangeiter_Type = { 0, /* tp_clear */ 0, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - PyObject_GenericGetIter, /* tp_iter */ + PyObject_SelfIter, /* tp_iter */ (iternextfunc)rangeiter_next, /* tp_iternext */ 0, /* tp_methods */ }; |
