[Python-Dev] switch-based programming in Python (original) (raw)

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 CONSTANTTUPLE: [suite] in CONSTANTTUPLE: [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