PEP 308: more and more...
John Roth
johnroth at ameritech.net
Wed Feb 26 12:27:26 EST 2003
"bormotov" <bor at vb.dn.ua> wrote in message
news:d11b24c9.0302260836.2b3baf9a at posting.google.com...
> Hi All!
>
> small suggestion for PEP 308:
>
> <cond> and then <exp1> or else <exp2>
>
> + 'and', 'then', 'or', 'else' - already keywords
> + simular to "<cond> and <exp1> or <exp2>" => easy redable
> + simular to "if <cond> then <exp1> else <exp2>" => easy readable
>
> as variants:
>
> <cond1> and then <exp1> or then <cond2> and then <exp2> ... or else
<condN>
Red meat for the anti-COBOL crowd!
John Roth
>
> - ???
>
> --
> Bor.
More information about the Python-list
mailing list