On Jul 11, 2020, at 13:28, MRAB <pyt...@mrabarnett.plus.com> 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 -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/URHMBBJ472EB6PCAH6LPM5PCBPMCHGMO/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to