[Python-Dev] Switch statement

skip at pobox.com skip at pobox.com
Mon Jun 12 12:34:03 CEST 2006


    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.

Skip


More information about the Python-Dev mailing list