diff --git a/Doc/howto/pyporting.rst b/Doc/howto/pyporting.rst index 3d9ef7fe0c8..fc08d18a90f 100644 --- a/Doc/howto/pyporting.rst +++ b/Doc/howto/pyporting.rst @@ -380,7 +380,7 @@ it can be very misleading:: >>> b"" == "" False -This is because comparison for equality is required by the language to always +This is because an equality comparison is required by the language to always succeed (and return ``False`` for incompatible types). However, this also means that code incorrectly ported to Python 3 can display buggy behaviour if such comparisons are silently executed. To detect such situations,