On 14/03/2015 07:54, Marko Rauhamaa wrote:
Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info>:
Marko Rauhamaa wrote:
Your 'factory' is a:
generator
A function which returns an iterator.
<URL: https://docs.python.org/3/glossary.html>
That glossary entry is misleading, or at least incomplete, and it
fails to match the way "generator" is used by actual Python
programmers.
I am an actual Python programmer (I develop Python programs) and my
definitive source for Python is the documentation. If there is an error
in the documentation, I would very much like it to be corrected.
Five minutes work for you (singular) on the bug tracker.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list