[Python-Dev] C.E.R. Thoughts (original) (raw)
Josiah Carlson jcarlson at uci.edu
Fri Oct 14 07:15:06 CEST 2005
- Previous message: [Python-Dev] C.E.R. Thoughts
- Next message: [Python-Dev] Making Queue.Queue easier to use
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] C.E.R. Thoughts
- Next message: [Python-Dev] Making Queue.Queue easier to use
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]