Skip to content

Commit

Permalink
Update PEP 7 to strongly encourage curly braces with conditional
Browse files Browse the repository at this point in the history
statements.
  • Loading branch information
brettcannon committed Jan 21, 2016
1 parent 70cff25 commit 7c2c102
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pep-0007.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ Code lay-out
}

* Code structure: one space between keywords like ``if``, ``for`` and
the following left paren; no spaces inside the paren; braces may be
omitted where C permits but when present, they should be formatted
as shown::
the following left paren; no spaces inside the paren; braces are
strongly preferred but may be omitted where C permits, and they
should be formatted as shown::

if (mro != NULL) {
...
Expand Down

0 comments on commit 7c2c102

Please sign in to comment.