Message242289
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.
""" |
|
Date |
User |
Action |
Args |
2015-04-30 22:03:21 | Jim.Jewett | set | recipients:
+ Jim.Jewett, gvanrossum, vstinner, docs@python, yselivanov |
2015-04-30 22:03:21 | Jim.Jewett | set | messageid: <1430431401.04.0.279681216808.issue24088@psf.upfronthosting.co.za> |
2015-04-30 22:03:21 | Jim.Jewett | link | issue24088 messages |
2015-04-30 22:03:20 | Jim.Jewett | create | |
|