[Python-Dev] Adding a conditional expression in Py3.0
Greg Ewing
greg.ewing at canterbury.ac.nz
Sat Sep 24 11:00:24 CEST 2005
More information about the Python-Dev mailing list
Sat Sep 24 11:00:24 CEST 2005
- Previous message: [Python-Dev] Adding a conditional expression in Py3.0
- Next message: [Python-Dev] Adding a conditional expression in Py3.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Terry Reedy wrote: > Now, can you honestly say that you would (naively) read > > return foo if bar else baz > > and be certain you knew what it meant? I can honestly say that, given I knew I was reading Python code, it would never have entered by head to read "foo if" as meaning that "foo" was the condition. Bizarrely backwards too much it would be. Greg
- Previous message: [Python-Dev] Adding a conditional expression in Py3.0
- Next message: [Python-Dev] Adding a conditional expression in Py3.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list