No Do while/repeat until looping construct in python?

Mel Wilson mwilson at the-wire.com
Fri Mar 14 18:00:32 EST 2003


In article <8bbd9ac3.0303140836.db171fa at posting.google.com>,
anamax at earthlink.net (Andy Freeman) wrote:
>"Greg Ewing (using news.cis.dfn.de)" <me at privacy.net> wrote in message news:<b4rkcq$22tehe$1 at ID-169208.news.dfncis.de>...
>> I think it's a somewhat bigger deal than you make out,
>> since it would bring the exit condition into a prominently
>> visible place, instead of being buried and easy to miss
>> at first glance.

>In most not-Python languages, it's possible to get most of
>that prominence by outdenting the "if <test> break;".

Whitespace above and below sets these things out nicely.

        Regards.        Mel.




More information about the Python-list mailing list