On Jul 11, 2020, at 13:28, MRAB <[email protected]> wrote:

> Another possibility is:
> 
>    match:
>        ...
>    case ...:
>    case ...:

It’s ugly, but you could introduce and require a (soft) keyword on the line 
after match, e.g.

match:
    # Can’t really use `with` here although I think it reads better.
    as expression
case …

I still wish cases lined up under match, but it’s not a deal breaker for me.

-Barry

Attachment: signature.asc
Description: Message signed with OpenPGP

_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/URHMBBJ472EB6PCAH6LPM5PCBPMCHGMO/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to