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

2017年6月01日 00:21:43 -0700

2017年05月31日 19:27 GMT+02:00 Guido van Rossum <[email protected]>:
> I interpret the PEP (...)
Right, the phrasing requires to "interpret" it :-)
> (...) 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.
Would someone be nice enough to try to rephrase the PEP 7 to explain
that? Just to avoid further boring discussion on the C coding style...
Victor
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to