Sebastian Rittau <srit...@rittau.biz> added the comment: Sorry for not responding, but I didn't know what I could have added that I didn't already say in the opening post. Of course, you can use workaround like using the three-argument version or creating aliases. Using Iterator is of course not a real solution for the general case.
I still believe that Generator should be usable with just one argument or typing should provide such an alias. ---------- _______________________________________ 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