Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a2f1544

Browse files
committed
Tweak wording about equality comparison.
1 parent 91638e7 commit a2f1544

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/howto/pyporting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ it can be very misleading::
380380
>>> b"" == ""
381381
False
382382

383-
This is because comparison for equality is required by the language to always
383+
This is because an equality comparison is required by the language to always
384384
succeed (and return ``False`` for incompatible types). However, this also
385385
means that code incorrectly ported to Python 3 can display buggy behaviour
386386
if such comparisons are silently executed. To detect such situations,

0 commit comments

Comments
 (0)