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/2006-June/066003.html below:

[Python-Dev] Switch statement

[Python-Dev] Switch statement [Python-Dev] Switch statementGreg Ewing greg.ewing at canterbury.ac.nz
Tue Jun 13 02:20:04 CEST 2006
skip at pobox.com wrote:
>     Greg> Multiple values could be written
> 
>     Greg>    case 'a':
>     Greg>    case 'b':
>     Greg>    case 'c':
>     Greg>      ...
> 
> That would be an exception to the rule that a line ending in a colon
> introduces an indented block.

Yes, but I don't see that as a big problem. It
seems fairly clear what it's supposed to mean.

If it bothers you, think of them as alternative
introductions to the same block.

--
Greg
More information about the Python-Dev mailing list

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