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 r.david.murray
Recipients Jim.Jewett, docs@python, gvanrossum, r.david.murray, vstinner, yselivanov
Date 2015-05-02.02:15:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430532904.05.0.102413823653.issue24088@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, and it is not using generator function in two different ways: it is literally the case that calling the generator function returns a generator object, which in turn controls the execution of the generator function.  The text then goes on to explain how this works.

I think it would make sense to change "controls execution of a generator function" to "controls execution of the generator function", but I can't think of any other change that would make things clearer.
History
Date User Action Args
2015-05-02 02:15:04r.david.murraysetrecipients: + r.david.murray, gvanrossum, vstinner, docs@python, Jim.Jewett, yselivanov
2015-05-02 02:15:04r.david.murraysetmessageid: <1430532904.05.0.102413823653.issue24088@psf.upfronthosting.co.za>
2015-05-02 02:15:04r.david.murraylinkissue24088 messages
2015-05-02 02:15:03r.david.murraycreate