Loop-and-a-half (Re: Curious assignment behaviour)
Paul Rubin
phr-n2001d at nightsong.com
Sat Oct 13 22:32:04 EDT 2001
"Tim Peters" <tim at zope.com> writes:
> If people sign off on taking "then" as a new keyword, I think the chances
> are good that we could get
>
> x = if e1 then e2 else e3
>
> into 2.2b1. That's the only obvious spelling, hence the only truly Pythonic
> way to spell it. Other languages spelling it that way range from Algol-60
> (Guido's first intense language affair) to Haskell.
This sounds fine to me.
More information about the Python-list
mailing list