[issue34118] Fix some class entries in 'Built-in Functions'

Terry J. Reedy report at bugs.python.org
Mon Jul 16 17:31:25 EDT 2018


Terry J. Reedy <tjreedy at udel.edu> added the comment:

I was forgetting that this is a Python, not CPython doc.  So I agree to not tag the iterator classes as such.  For all I know, PyPy might use (compiled?) generator functions.  And if we were to allow use of Cython, say, for CPython, we might  try that.

How about a note under the index table:

Functions that must be classes are tagged *class*.  The iterator functions enumerate, filter, map, reversed, and zip are classes in CPython, but they are not tagged because they could be implemented as generator functions.

Or we could add an *iterator* tag.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34118>
_______________________________________


More information about the Python-bugs-list mailing list