R. David Murray added the comment:

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.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24088>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to