Chris Angelico wrote:
It would NOT work for anything where the bool() of the desired object doesn't exactly match the loop's condition.
while condition(x) where x = something():
...
--
Greg
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/
