commit | 1da1dbf4586afbd6b5d5c3cf244a1a3ea0f4382b | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Mon Mar 17 19:46:11 2003 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Mon Mar 17 19:46:11 2003 +0000 |
tree | cd4b433bcd0fd65cb0fa85586dc46e86a6d7370d | |
parent | ab75840cd07ee41598d3d5cc14dcf49b272664d3 [diff] [blame] |
Renamed PyObject_GenericGetIter to PyObject_SelfIter to more accurately describe what the function does. Suggested by Thomas Wouters.
diff --git a/Objects/object.c b/Objects/object.c index eb4d8f7..9ce3de7 100644 --- a/Objects/object.c +++ b/Objects/object.c
@@ -1301,7 +1301,7 @@ /* Generic GetAttr functions - put these in your tp_[gs]etattro slot */ PyObject * -PyObject_GenericGetIter(PyObject *obj) +PyObject_SelfIter(PyObject *obj) { Py_INCREF(obj); return obj;