[issue31700] one-argument version for Generator.typing

Zeth report at bugs.python.org
Tue Nov 30 20:34:39 EST 2021


Zeth <theology at gmail.com> added the comment:

I don't get why this is closed. It is a bug. The Generator type annotation works differently than the others, it shouldn't.

Sebastian Rittau is correct here, the closer doesn't seem to have understood. 

As for using Iterator instead as the documentation suggests, that makes a mockery of the whole process. You might as well set everything to Any.

----------
nosy: +zeth

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31700>
_______________________________________


More information about the Python-bugs-list mailing list