Conditional expressions - PEP 308

Delaney, Timothy (Tim) tdelaney at avaya.com
Wed Jan 31 16:43:55 EST 2007


Colin J. Williams wrote:

> Yes, I agree.  The ternary operator is a step forward.

That's still debateable ;)

Pro: It puts paid to the "python doesn't have a ternary operator" and
and/or abuse.

Con: It shouldn't ever be used.

Cheers,

Tim Delaney



More information about the Python-list mailing list