For review: PEP 308 - If-then-else expression

Dan Schmidt dfan at
Sat Feb 8 00:55:32 CET 2003

Donald McCarthy <paddy3118 at> writes:

| So an if to the right of an equals sign is the ternary operator.

But a large part of the time I would use a ternary operator, it
wouldn't be to the right of an equals sign, it would be in an argument



More information about the Python-list mailing list