A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-October/017986.html below:

[Python-Dev] conditional expressions?

[Python-Dev] conditional expressions? [Python-Dev] conditional expressions?Fredrik Lundh fredrik@pythonware.com
Wed, 17 Oct 2001 17:03:04 +0200
guido wrote:

> I still like
> 
>     (if cond then expr else expr)
> 
> better than any of these.

I guess I've lost track of all the proposals here; what's
the current main proposal?

    (if cond then expr else expr)

with mandatory parentheses?

not too bad -- but I doubt it will save me much time in
real life...  (probably a net loss: even if I could use this
from time to time, it's not like I have to use much brain-
power to spell it out in today's python...)

</F>




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4