> On 10 Jul 2020, Stefano Borini <stefano.bor...@gmail.com> wrote:
> 
> Just my 2 cents, I find it kind of annoying that the whole structure
> requires two levels of indentation to actually reach the operational
> code.
> This would be a first in python.
> 
> I would prefer an option akin to if elif elif else where each block is
> only one level deep.


It very much depends on how you read it.

To me the proposed structure is like

with <expression> as <container>:
if <container> <match-op> <pattern>:
…
elif <container> <match-op> <pattern>:
…

and thus not really different

_______________________________________________
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/3LCHUK3IV4CXWSFHNROREJQ3WTS2JZ7L/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to