A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2017-June/148104.html below:

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

[Python-Dev] PEP 7 and braces { .... } on if [Python-Dev] PEP 7 and braces { .... } on ifVictor Stinner victor.stinner at gmail.com
Thu Jun 1 03:17:15 EDT 2017
2017-05-31 19:27 GMT+02:00 Guido van Rossum <guido at python.org>:
> 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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4