gh-141218: Fix inaccurate object comparison documentation by mohsinm-dev · Pull Request #141221 · python/cpython
Changed "Objects of different types, except different numeric types, never compare equal" to "Objects of different types, unless documented otherwise, never compare equal" to account for documented exceptions like set/frozenset comparisons.
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
Dec 16, 2025…onGH-141221) (cherry picked from commit b372bd7) Co-authored-by: Mohsin Mehmood <55545648+mohsinm-dev@users.noreply.github.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
Dec 16, 2025…onGH-141221) (cherry picked from commit b372bd7) Co-authored-by: Mohsin Mehmood <55545648+mohsinm-dev@users.noreply.github.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
hugovk pushed a commit that referenced this pull request
Dec 16, 2025hugovk pushed a commit that referenced this pull request
Dec 16, 2025This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters