[Python-Dev] Switch statement
Greg Ewing
greg.ewing at canterbury.ac.nz
Tue Jun 13 02:20:04 CEST 2006
More information about the Python-Dev mailing list
Tue Jun 13 02:20:04 CEST 2006
- Previous message: [Python-Dev] Switch statement
- Next message: [Python-Dev] Switch statement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
skip at pobox.com wrote: > Greg> Multiple values could be written > > Greg> case 'a': > Greg> case 'b': > Greg> case 'c': > Greg> ... > > That would be an exception to the rule that a line ending in a colon > introduces an indented block. Yes, but I don't see that as a big problem. It seems fairly clear what it's supposed to mean. If it bothers you, think of them as alternative introductions to the same block. -- Greg
- Previous message: [Python-Dev] Switch statement
- Next message: [Python-Dev] Switch statement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list