Equivalent to (a ? b : c) ?

malraux at my-deja.com malraux at my-deja.com
Mon Dec 20 10:06:04 EST 1999


I remember seeing the Python equivalent to C's (a?b:c) inline if
statement, but I can't find it for the life of me... can some kind soul
jog my memory for me please?

Thanks,

-scott


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list