[Info] PEP 308 accepted - new conditional expressions
Fri Sep 30 16:32:43 CEST 2005
Richie Hindle <rjh at cyberscience.com> writes:
> Yes. From Guido's announcement at
> > The syntax will be
> > A if C else B
Wow, I thought this was a prank at first. Congratulations to Guido.
I think the introduction of list and sequence comprehensions made the
absence of a conditional construct felt even more strongly than
before, for those of us who program in this style.
More information about the Python-list