Skip to content

Commit 5514795

Browse files
authored
PEP 8: Remove the diamond (<>) inequality operator (#4343)
1 parent 1a91789 commit 5514795

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

peps/pep-0008.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -617,9 +617,8 @@ Other Recommendations
617617

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

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

0 commit comments

Comments
 (0)