Conditional operator in Python?
Grant Edwards
grante at visi.com
Sat Mar 31 22:05:12 EST 2001
On Sat, 31 Mar 2001 18:04:40 -0800, Erik Max Francis <max at alcyone.com> wrote:
>Why isn't there a conditional operator (a ? b : c) in Python?
Because trying to come with a semantically identical construct
in Python provides many hours of fun and a never-ending Usenet
thread. ;)
>I've been reading comp.lang.python for a while (since just before 2.0
>shipped) and I can't really remember much discussion about it. Is it a
>perennial request and I'm just missing it?
It comes up every month or two.
--
Grant Edwards grante Yow! Here I am at the flea
at market but nobody is buying
visi.com my urine sample bottles...
More information about the Python-list
mailing list