[issue27689] Add documentation for typing.Generator

Michael Lee report at bugs.python.org
Fri Aug 5 15:38:19 EDT 2016


Michael Lee added the comment:

Revision 3 -- I changed the protocol for the example so that you stop the generator by sending in a negative number as a sentinel rather then None.

----------
Added file: http://bugs.python.org/file44027/document-generators-v3.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27689>
_______________________________________


More information about the Python-bugs-list mailing list