PEP 315: Enhanced While Loop

Greg Ewing (using news.cis.dfn.de) ckea25d02 at sneakemail.com
Tue May 6 00:08:10 EDT 2003


W Isaac Carroll wrote:
> PEP: 315
 >
>         do:
>             <setup code>
>         while <condition>:
>             <loop body>

I like the idea, but not the choice of keywords. I
would prefer to see

    while:
      <setup code>
    gives <condition>:
      <loop body>

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg





More information about the Python-list mailing list