We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33e82be commit 0b9146eCopy full SHA for 0b9146e
Doc/howto/enum.rst
@@ -371,7 +371,7 @@ Equality comparisons are defined though::
371
>>> Color.BLUE == Color.BLUE
372
True
373
374
-Comparisons against non-enumeration values will always compare not equal
+Equality comparisons against non-enumeration values will always return ``False``
375
(again, :class:`IntEnum` was explicitly designed to behave differently, see
376
below)::
377
0 commit comments