[Python-Dev] switch-based programming in Python

Paul Svensson paul@svensson.org
Fri, 9 Nov 2001 13:46:23 -0500 (EST)


On Fri, 9 Nov 2001, Donald Beaudry wrote:

>Here's another,
>
>    when EXPR:
>        in CONSTANT_TUPLE:
>            [suite]
>        in CONSTANT_TUPLE:
>            [suite]
>        ...
>    else:
>         [suite]
>
>...and no fall-through, please.

No comment on the choice of keywords,
but now that I see it,
you're absolutely right on the indentation of the "else".

	/Paul