> On 10 Jul 2020, Stefano Borini <[email protected]> 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 -- [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/3LCHUK3IV4CXWSFHNROREJQ3WTS2JZ7L/ Code of Conduct: http://python.org/psf/codeofconduct/
