[Python-ideas] Another idea for a switch statement
Lucas Malor
rwwfjchuws at snkmail.com
Tue Oct 11 16:33:55 CEST 2011
More information about the Python-ideas mailing list
Tue Oct 11 16:33:55 CEST 2011
- Previous message: [Python-ideas] Help mode improvement.
- Next message: [Python-ideas] Another idea for a switch statement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello all. I read PEP 275 but I don't like the syntax of examples. What do you think about something like this?
if x case value1 :
[...]
case value2 :
[...]
case value3 :
[...]
else :
[...]
- Previous message: [Python-ideas] Help mode improvement.
- Next message: [Python-ideas] Another idea for a switch statement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list