PEP-315 ("do" loop)

Paul Rubin http
Wed Feb 18 07:35:54 CET 2004


"Andrew Koenig" <ark at acm.org> writes:
> I believe it would be more useful to allow the test to be anywhere in the
> loop, not just at the beginning or at the end.  Even better would be to
> allow more than one test.

It's already possible to test anywhere in a loop, with "if ... : break".



More information about the Python-list mailing list