You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am quite this was already reported, but can't find the issue. The point is that mypy checks superclass compatibility before descriptors are resolved. Btw stubs for staticmethod etc. are quite basic in typeshed (mostly because mypy treats them via some special-casing when they are used as decorators) ideally I would make them generic in the wrapped function so that __get__ can return the same callable, instead of just function.
Uh oh!
There was an error while loading. Please reload this page.
This yields the following error on B.foobar:
The text was updated successfully, but these errors were encountered: