[Python-Dev] PyObject_GenericGetIter()

Greg Ewing greg@cosc.canterbury.ac.nz
Tue, 18 Mar 2003 12:03:19 +1200 (NZST)


Thomas Wouters <thomas@xs4all.net>:

> it's a generic way to return an iterator *for an
> iterator*. PyIter_GenericGetIter, PyObject_IterGetIter, etc are all
> more descriptive.

It should have Generic in it somewhere to fit the pattern.
I'd go for PyIter_GenericGetIter.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+