[Python-Dev] PEP 3103: A Switch/Case Statement
Ron Adam
rrr at ronadam.com
Wed Jun 28 00:10:49 CEST 2006
More information about the Python-Dev mailing list
Wed Jun 28 00:10:49 CEST 2006
- Previous message: [Python-Dev] PEP 3103: A Switch/Case Statement
- Next message: [Python-Dev] PEP 3103: A Switch/Case Statement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ron Adam wrote:
> In this instance the switch would be redefined 10 times. The ending
> switch would be:
>
> switch S:
> case 10: print 42
Silly mistake correction... :)
switch S:
case 9: print 42
- Previous message: [Python-Dev] PEP 3103: A Switch/Case Statement
- Next message: [Python-Dev] PEP 3103: A Switch/Case Statement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list