[issue27689] Add documentation for typing.Generator

Ivan Levkivskyi report at bugs.python.org
Fri Aug 5 12:22:45 EDT 2016


Ivan Levkivskyi added the comment:

Michael, thank you for the patch. I have only one comment.
Generator is one of the few types in typing.py that behaves contravariantly. Maybe you could emphasize that it is contravariant in send type in your patch?

----------
nosy: +levkivskyi

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


More information about the Python-bugs-list mailing list