Message242369
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. |
|
Date |
User |
Action |
Args |
2015-05-02 02:15:04 | r.david.murray | set | recipients:
+ r.david.murray, gvanrossum, vstinner, docs@python, Jim.Jewett, yselivanov |
2015-05-02 02:15:04 | r.david.murray | set | messageid: <1430532904.05.0.102413823653.issue24088@psf.upfronthosting.co.za> |
2015-05-02 02:15:04 | r.david.murray | link | issue24088 messages |
2015-05-02 02:15:03 | r.david.murray | create | |
|