Skip to content

Commit 0b9146e

Browse files
[Enum] Improve clarity of comparison sentence (GH-148753)
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
1 parent 33e82be commit 0b9146e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/howto/enum.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ Equality comparisons are defined though::
371371
>>> Color.BLUE == Color.BLUE
372372
True
373373

374-
Comparisons against non-enumeration values will always compare not equal
374+
Equality comparisons against non-enumeration values will always return ``False``
375375
(again, :class:`IntEnum` was explicitly designed to behave differently, see
376376
below)::
377377

0 commit comments

Comments
 (0)