mypy
3f8d7e98 - Fix self-types in access to overloaded class methods on instances (#7937)

Commit
6 years ago
Fix self-types in access to overloaded class methods on instances (#7937) Fixes https://github.com/python/mypy/issues/7926 The fix is straightforward, pass `is_classmethod` where it should be. Also wrap self argument in `Type[...]` only once, not on every iteration over overload items.
Author
Parents
Loading