On 11/07/2020 12:20, Paul Sokolovsky wrote:
I would, if I'd used an "else" with a "for" recently. I would have a strong tendency to align the "else" with the "case" statements, but I can see how the other way around makes sense too. (I can't see how anyone likes the Linux case indentation style at all. It's horrible to read.)Actually, the whole argument in PEP 622 regarding "else:", that its placement is ambiguous sounds like a rather artificial write-off. Individual "case"'s are aligned together, but suddenly, it's unclear how to align the default case, introduced by "else"? Who in good faith would align it with "match"?
-- Rhodri James *-* Kynesim Ltd _______________________________________________ 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/YAAEFSSIT3QL2AZJCUP6UZZTU7AYLVEF/ Code of Conduct: http://python.org/psf/codeofconduct/