PEP 315: Enhanced While Loop
W Isaac Carroll
icarroll at pobox.com
Mon May 5 19:01:24 EDT 2003
Andrew Koenig wrote:
> while:
> <loop body>
> and while <condition>:
> pass
It was suggested to me that the colon might be left off for a statement
that does not begin a block, like so:
while:
<loop body>
and while <condition>
It remains to be seen whether the small difference of a missing colon is
enough to remind people that the block is not present.
TTFN
More information about the Python-list
mailing list