Message242369
| 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. |
|