[Python-Dev] PEP 7 and braces { .... } on if

Serhiy Storchaka storchaka at gmail.com
Thu Jun 1 02:53:16 EDT 2017


31.05.17 20:27, Guido van Rossum пише:
> I interpret the PEP as saying that you should use braces everywhere but 
> not to add them in code that you're not modifying otherwise. (I.e. don't 
> go on a brace-adding rampage.) If author and reviewer of a PR disagree I 
> would go with "add braces" since that's clearly the PEP's preference. 
> This is C code. We should play it safe.

Thank you. I'll be interpreting it the same way.



More information about the Python-Dev mailing list