summaryrefslogtreecommitdiffstats
path: root/Modules/xreadlinesmodule.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-03-17 19:46:11 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-03-17 19:46:11 (GMT)
commit1da1dbf4586afbd6b5d5c3cf244a1a3ea0f4382b (patch)
treecd4b433bcd0fd65cb0fa85586dc46e86a6d7370d /Modules/xreadlinesmodule.c
parentab75840cd07ee41598d3d5cc14dcf49b272664d3 (diff)
downloadcpython-1da1dbf4586afbd6b5d5c3cf244a1a3ea0f4382b.zip
cpython-1da1dbf4586afbd6b5d5c3cf244a1a3ea0f4382b.tar.gz
cpython-1da1dbf4586afbd6b5d5c3cf244a1a3ea0f4382b.tar.bz2
Renamed PyObject_GenericGetIter to PyObject_SelfIter
to more accurately describe what the function does. Suggested by Thomas Wouters.
Diffstat (limited to 'Modules/xreadlinesmodule.c')
-rw-r--r--Modules/xreadlinesmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/xreadlinesmodule.c b/Modules/xreadlinesmodule.c
index b0715f6..302d7dd 100644
--- a/Modules/xreadlinesmodule.c
+++ b/Modules/xreadlinesmodule.c
@@ -152,7 +152,7 @@ static PyTypeObject XReadlinesObject_Type = {
0, /* tp_clear */
0, /* tp_richcompare */
0, /* tp_weaklistoffset */
- PyObject_GenericGetIter, /* tp_iter */
+ PyObject_SelfIter, /* tp_iter */
(iternextfunc)xreadlines_iternext, /* tp_iternext */
};