A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2005-October/057301.html below:

[Python-Dev] C.E.R. Thoughts

[Python-Dev] C.E.R. Thoughts [Python-Dev] C.E.R. ThoughtsJosiah Carlson jcarlson at uci.edu
Fri Oct 14 07:15:06 CEST 2005
Technical Support of Intercable Co <support at intercable.ru> wrote:
> 
> And why not
> if len(sys.argv) > 1 take sys.argv[1] == 'debug':
>     ...
> 
> It was not so bad :-)
> 
> A = len(sys.argv)==0 take None or sys.argv[1]
> 
> Sorry for being noisy :-)

The syntax for 2.5 has already been decided upon.  Except for an act by
Guido, it is likely to stay (None if len(sys.argv) == 0 else sys.argv[1]).

 - Josiah

More information about the Python-Dev mailing list

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