On Fri, 21 Jul 2023 at 19:15, Dom Grigonis <dom.grigo...@gmail.com> wrote: > However, it could be done differently as well. If `Break()` takes effect in > the scope where it is evaluated. Then: >
You say that as if it's easy. How would this work? How do you have a function that, when called, causes the current loop to be broken out of? ChrisA _______________________________________________ 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/IOTCAVRMSJKS72D7KTPEZQBDR7QFNDI2/ Code of Conduct: http://python.org/psf/codeofconduct/