On 12/07/20 7:03 am, Federico Salerno wrote:
On 11/07/2020 12:49, Greg Ewing wrote:
switch (x) {
case 1:
...
case 2:
...
default:
...
}
>
I think that last one would be perceived as ok if it weren't for the
brackets: everyone naturally indents any set of brackets' contents.
Equally, in Python, everyone naturally indents anything that comes
after a colon.
--
Greg
_______________________________________________
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/RWIR7UE672E5CTFGOLNOWCSB5KJ3TLGG/
Code of Conduct: http://python.org/psf/codeofconduct/