class TypeVarLikeType(ProperType): (source)
Known subclasses: mypy.types.ParamSpecType
, mypy.types.TypeVarType
Undocumented
Class Method | deserialize |
Undocumented |
Method | __init__ |
Undocumented |
Method | serialize |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Instance Variable | fullname |
Undocumented |
Instance Variable | id |
Undocumented |
Instance Variable | name |
Undocumented |
Instance Variable | upper_bound |
Undocumented |
Inherited from Type
(via ProperType
):
Method | __repr__ |
Undocumented |
Method | accept |
Undocumented |
Method | can_be_false_default |
Undocumented |
Method | can_be_true_default |
Undocumented |
Instance Variable | can_be_false |
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.deserialize
mypy.types.ParamSpecType
, mypy.types.TypeVarType
Undocumented
Parameters | |
data:JsonDict | Undocumented |
Returns | |
TypeVarLikeType | Undocumented |
mypy.types.Type.serialize
mypy.types.ParamSpecType
, mypy.types.TypeVarType
Undocumented
Returns | |
JsonDict | Undocumented |
mypy.types.ProperType.__slots__
mypy.types.ParamSpecType
, mypy.types.TypeVarType
Undocumented