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
Fix constructor type for subclasses of Any (#19295)
Fixes#9815Fixes#10848Fixes#17781
Also discovered this while working on `checkmember` stuff. Previously,
return type of the type object was the class where `__init__()` was
defined (if there was an `Any` somewhere in MRO). And since we use
return type for attribute access on type objects, it went completely
sideways. Fix is simple (we accidentally used `info` instead of
`def_info` in one place).
0 commit comments