PEP 308: Alternative conditional operator forms

Erik Max Francis max at alcyone.com
Sun Feb 9 23:32:44 EST 2003


Dennis Lee Bieber wrote:

>         I'd prefer to avoid overloading the : (which currently tends
> to not
> only end a type of statement, but /also/ signals the expected start of
> a code block -- even though a one-statement code block /can/ be put on
> the same line).

Lambdas are an obvious exception to this.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ She glanced at her watch ... It was 9:23.
\__/ James Clavell
    Bosskey.net: Quake III Arena / http://www.bosskey.net/q3a/
 A personal guide to Quake III Arena.




More information about the Python-list mailing list