This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Jim.Jewett
Recipients Jim.Jewett, docs@python, gvanrossum, vstinner, yselivanov
Date 2015-04-30.22:03:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430431401.04.0.279681216808.issue24088@psf.upfronthosting.co.za>
In-reply-to
Content
https://docs.python.org/3/reference/expressions.html#yield-expressions

Current:
"""
When a generator function is called, it returns an iterator known as a generator. That generator then controls the execution of a generator function. The execution starts when one of the generator’s methods is called.
"""

At a minimum, that seems to be using "generator function" in two different ways, but I think there are other problems.

Proposed:
"""
When a generator function is called, it returns a special kind of iterator known as a generator. The iteration starts when one of the generator’s methods is called.
"""
History
Date User Action Args
2015-04-30 22:03:21Jim.Jewettsetrecipients: + Jim.Jewett, gvanrossum, vstinner, docs@python, yselivanov
2015-04-30 22:03:21Jim.Jewettsetmessageid: <1430431401.04.0.279681216808.issue24088@psf.upfronthosting.co.za>
2015-04-30 22:03:21Jim.Jewettlinkissue24088 messages
2015-04-30 22:03:20Jim.Jewettcreate