]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41793: Fix an inaccuracy about reflected methods in datamodel docs (GH-22257)
authorWim Jeantine-Glenn <hey@wimglenn.com>
Tue, 29 Oct 2024 23:02:27 +0000 (18:02 -0500)
committerGitHub <noreply@github.com>
Tue, 29 Oct 2024 23:02:27 +0000 (16:02 -0700)
commit298e04163188639fa28dd86cc9d1b8096199f6fb
tree86a0c2688f608ba7997c6decb2d4f7d1a81f7b95
parent5527c4051c0b58218ce69044f92b45f1d66ed43f
bpo-41793: Fix an inaccuracy about reflected methods in datamodel docs (GH-22257)

* Qualifying that the right operand's type must be a *strict* subclass for the reflected method to take precedence avoids an edge case / counter-example when the types are actually equal.

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Doc/reference/datamodel.rst