[Python-ideas] except expression
Greg Ewing
greg.ewing at canterbury.ac.nz
Tue Feb 18 00:12:38 CET 2014
More information about the Python-ideas mailing list
Tue Feb 18 00:12:38 CET 2014
- Previous message: [Python-ideas] Commas [was Re: except expression]
- Next message: [Python-ideas] except expression
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
M.-A. Lemburg wrote: > The colon in there breaks the basic Python concept of having > colons end headers which start a new block of statements: > > http://docs.python.org/reference/compound_stmts.html That section is talking about statements. The construct we're discussing is an expression, so it wouldn't be bound by the same rules. And there are at least 3 existing uses of colons in expressions, so ending headers is not the *only* use of colons. -- Greg
- Previous message: [Python-ideas] Commas [was Re: except expression]
- Next message: [Python-ideas] except expression
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list