From 94090681e1b6f6d477fda3b2d32e07366e15ec66 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Thu, 3 Apr 2025 16:52:49 +0100 Subject: [PATCH] PEP 8: Remove the diamond (`<>`) inequality operator --- peps/pep-0008.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/peps/pep-0008.rst b/peps/pep-0008.rst index 733b73e4c93..d14c9e97b12 100644 --- a/peps/pep-0008.rst +++ b/peps/pep-0008.rst @@ -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