Zeth <theol...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue31700> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com