On 07/08/2020 08:30 AM, Luciano Ramalho wrote:
As I first read a `match` statement, and I see an `else` clause, I know for sure that *something* will happen. If no `else` clause is present, I know it's possible nothing will happen. It's the same thing with `else` in `if`, `while`, `for`, `try` statements, where the `else` is aligned with the opening keyword.
If `else` is added, I agree with aligning with `match`, for the same reasons -- especially if we can nest match statements. -- ~Ethan~ _______________________________________________ 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/PTSQFVVQLYJJ5SOXF2ASRALU6INPRM6D/ Code of Conduct: http://python.org/psf/codeofconduct/