class FunctionLike(ProperType): (source)
Known subclasses: mypy.types.CallableType
, mypy.types.Overloaded
Method | __init__ |
Undocumented |
Method | get_name |
Undocumented |
Method | is_type_obj |
Undocumented |
Method | type_object |
Undocumented |
Method | with_name |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Instance Variable | can_be_false |
Undocumented |
Instance Variable | fallback |
Undocumented |
Property | items |
Undocumented |
Inherited from Type
(via ProperType
):
Class Method | deserialize |
Undocumented |
Method | __repr__ |
Undocumented |
Method | accept |
Undocumented |
Method | can_be_false_default |
Undocumented |
Method | can_be_true_default |
Undocumented |
Method | serialize |
Undocumented |
Instance Variable | can_be_true |
Undocumented |
Inherited from Context
(via ProperType
, Type
):
Method | get_column |
Don't use. Use x.column. |
Method | get_line |
Don't use. Use x.line. |
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_line |
Undocumented |
Instance Variable | line |
Undocumented |
mypy.types.Type.__init__
mypy.types.CallableType
, mypy.types.Overloaded
Undocumented
Parameters | |
line:int | Undocumented |
column:int | Undocumented |
mypy.types.CallableType
, mypy.types.Overloaded
Undocumented
Returns | |
Optional[ | Undocumented |
mypy.types.CallableType
, mypy.types.Overloaded
Undocumented
Returns | |
mypy.nodes.TypeInfo | Undocumented |
mypy.types.CallableType
, mypy.types.Overloaded
Undocumented
Parameters | |
name:str | Undocumented |
Returns | |
FunctionLike | Undocumented |
mypy.types.ProperType.__slots__
mypy.types.CallableType
, mypy.types.Overloaded
Undocumented