[Python-Dev] Switch statement
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Jun 21 02:26:55 CEST 2006
More information about the Python-Dev mailing list
Wed Jun 21 02:26:55 CEST 2006
- Previous message: [Python-Dev] Switch statement
- Next message: [Python-Dev] Switch statement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum wrote: > But it would be easy enough to define a dict-filling function that > updates only new values. Or evaluate the case expressions in reverse order. > Was it decided yet how to write the cases for a switch that tests for > tuples of values? Requiring parentheses might be sufficient, > essentially making what follows a case *always* take on sequence > syntax. Sounds good to me. -- 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