A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-November/018510.html below:

[Python-Dev] switch-based programming in Python

[Python-Dev] switch-based programming in Python [Python-Dev] switch-based programming in PythonPaul 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





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4