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/2000-January/001887.html below:

[Python-Dev] Adding C ternary select (a?b:c) to Python?

[Python-Dev] Adding C ternary select (a?b:c) to Python? [Python-Dev] Adding C ternary select (a?b:c) to Python?David Ascher da@ski.org
Sun, 30 Jan 2000 10:07:51 -0800
FWIW, the lack of a ternary select is one of the frequently asked questions
in my Python courses.  It would make TomC happier as well.  I'm not sure the
latter is a feature. =)

On the topic of aesthetics, the C syntax doesn't strike me as the ultimate
in pythonicity but it's not too bad either.  I can't think of an alternative
that doesn't involve a new reserved word.

--david






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