-
Notifications
You must be signed in to change notification settings - Fork 216
Labels
typing semanticstyping-module features, spec compliance, etctyping-module features, spec compliance, etc
Milestone
Description
Another feature request similar to #281: respect signature of __call__ defined on a metaclass.
class Meta(type):
def __call__(cls, arg: int) -> str: ...
class T(metaclass=Meta):
pass
# Inferred type: `T`, should be `str`.
t = T() # Should report missing argument `arg`.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
typing semanticstyping-module features, spec compliance, etctyping-module features, spec compliance, etc