[issue41793] Inaccuracy about reflected operands in datamodel docs.

2020-09-15 Thread wim glenn
Change by wim glenn : -- keywords: +patch pull_requests: +21312 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22257 ___ Python tracker ___ __

[issue41793] Inaccuracy about reflected operands in datamodel docs.

2020-09-15 Thread wim glenn
New submission from wim glenn : 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. >>> class A: ... def __add__(self, other): ... prin