PEP308: Yet another syntax proposal
Aahz
aahz at pythoncraft.com
Mon Feb 10 11:44:18 EST 2003
In article <YUP1a.3080$SB2.242 at nwrddc03.gnilink.net>,
Raymond Hettinger <python at rcn.com> wrote:
>
>I suggest:
>
> cond ?? val1 || val2
+0.5
I still have yet to see a clear explanation of why short-circuit is
necessary and therefore iif() unreasonable.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Register for PyCon now! http://www.python.org/pycon/reg.html
More information about the Python-list
mailing list