Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions peps/pep-0008.rst
Original file line number Diff line number Diff line change
Expand Up @@ -617,9 +617,8 @@ Other Recommendations

- Always surround these binary operators with a single space on either
side: assignment (``=``), augmented assignment (``+=``, ``-=``
etc.), comparisons (``==``, ``<``, ``>``, ``!=``, ``<>``, ``<=``,
``>=``, ``in``, ``not in``, ``is``, ``is not``), Booleans (``and``,
``or``, ``not``).
etc.), comparisons (``==``, ``<``, ``>``, ``!=``, ``<=``, ``>=``, ``in``,
``not in``, ``is``, ``is not``), Booleans (``and``, ``or``, ``not``).

- If operators with different priorities are used, consider adding
whitespace around the operators with the lowest priority(ies). Use
Expand Down