This should have been:
When working with generators in a for statement, AFAIK, there's currently no easy way to handle the case of an empty generator (which can be useful if such case is an error). _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/KYUJDM5JCQNLYS2LQO7FZZP5H3QR63C4/ Code of Conduct: http://python.org/psf/codeofconduct/