builtins.sum
: Spurious error for operands having __add__
defined using partialmetho
#17734
Labels
bug
mypy got something wrong
Bug Report
This is a follow-on from python/typeshed#7739. See there for additional context provided by @srittau and @AlexWaygood.
To Reproduce
Expected Behavior
The above seems like a legitimate way to define
__add__
.Actual Behavior
mypy 1.11.1's output is essentially unchanged.
Your Environment
mypy.ini
(and other config files): nonecc @kaushikcfd
The text was updated successfully, but these errors were encountered: