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

Paul Paterson hamonlypaulpaterson at
Sat Feb 8 01:32:04 CET 2003

"holger krekel" <pyth at> wrote in message
news:mailman.1044640102.26759.python-list at
> It has happenend with list comprehensions before. But this doesn't
> mean it's generally a good thing.  For example consider
>     if obj() if callable(obj) else default:
>        ...

One of the most compelling, one-line counter arguments I've ever seen!


More information about the Python-list mailing list