why no "do : until"?

Peter Hansen peter at engcorp.com
Sun Dec 31 06:35:45 CET 2000


Kragen Sitaker wrote:
> 
> The only time I wish I wasn't subject to Python's indentation rules is
> when I can't outdent my "if finished(): break" statements like I do in
> C.

But why would you want to outdent it?  It's *part* of the loop, not a
following statement.  Identation should match the block structure of the
code, and that statement lies _within_ the block.



More information about the Python-list mailing list