class documentation

Overloaded function type T1, ... Tn, where each Ti is CallableType. The variant to call is chosen based on static argument types. Overloaded function types can only be defined in stub files, and thus there is no explicit runtime dispatch implementation.

Class Method deserialize Undocumented
Method __eq__ Undocumented
Method __hash__ Undocumented
Method __init__ Undocumented
Method accept Undocumented
Method get_name Undocumented
Method is_type_obj Undocumented
Method name Undocumented
Method serialize Undocumented
Method type_object Undocumented
Method with_name Undocumented
Method with_unpacked_kwargs Undocumented
Class Variable __slots__ Undocumented
Instance Variable fallback Undocumented
Property items Undocumented
Instance Variable _items Undocumented

Inherited from FunctionLike:

Instance Variable _can_be_false Undocumented

Inherited from Type (via FunctionLike, ProperType):

Method __repr__ Undocumented
Method can_be_false.setter Undocumented
Method can_be_false_default Undocumented
Method can_be_true.setter Undocumented
Method can_be_true_default Undocumented
Method is_singleton_type Undocumented
Property can_be_false Undocumented
Property can_be_true Undocumented
Instance Variable _can_be_true Undocumented

Inherited from Context (via FunctionLike, ProperType, Type):

Method set_line If target is a node, pull line (and column) information into this node. If column is specified, this will override any column information coming from a node.
Instance Variable column Undocumented
Instance Variable end_column Undocumented
Instance Variable end_line Undocumented
Instance Variable line Undocumented
@classmethod
def deserialize(cls, data: JsonDict) -> Overloaded: (source)

Undocumented

def __eq__(self, other: object) -> bool: (source)

Undocumented

def __hash__(self) -> int: (source)

Undocumented

def __init__(self, items: list[CallableType]): (source)

Undocumented

def accept(self, visitor: TypeVisitor[T]) -> T: (source)

Undocumented

def get_name(self) -> str|None: (source)

Undocumented

def is_type_obj(self) -> bool: (source)

Undocumented

def name(self) -> str|None: (source)

Undocumented

def serialize(self) -> JsonDict: (source)

Undocumented

def type_object(self) -> mypy.nodes.TypeInfo: (source)

Undocumented

def with_name(self, name: str) -> Overloaded: (source)

Undocumented

def with_unpacked_kwargs(self) -> Overloaded: (source)

Undocumented

__slots__: tuple[str, ...] = (source)

Undocumented

fallback = (source)

Undocumented

Undocumented