summaryrefslogtreecommitdiff
path: root/Objects/rangeobject.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-03-17 19:46:11 +0000
committerRaymond Hettinger <python@rcn.com>2003-03-17 19:46:11 +0000
commita737242360041548cd01ff040d7a9446a278062c (patch)
tree12307dadc3c487eb7f928237dc2af0dc88648f47 /Objects/rangeobject.c
parent871f18e8cfbb0ab1b82ad64a1c104086cf8e1c0d (diff)
downloadcpython-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.c2
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 */
};