For review: PEP 308 - If-then-else expression
hamonlypaulpaterson at houston.rr.com
Sat Feb 8 01:32:04 CET 2003
"holger krekel" <pyth at devel.trillke.net> wrote in message
news:mailman.1044640102.26759.python-list at python.org...
> 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