[Python-Dev] PEP 3103: A Switch/Case Statement

Ron Adam rrr at ronadam.com
Wed Jun 28 00:10:49 CEST 2006


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



More information about the Python-Dev mailing list