class documentation
class TypeVarType(TypeVarLikeType): (source)
Type that refers to a type variable.
Class Method | deserialize |
Undocumented |
Static Method | new |
Undocumented |
Method | __eq__ |
Undocumented |
Method | __hash__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | accept |
Undocumented |
Method | copy |
Undocumented |
Method | serialize |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Instance Variable | values |
Undocumented |
Instance Variable | variance |
Undocumented |
Inherited from TypeVarLikeType
:
Instance Variable | fullname |
Undocumented |
Instance Variable | id |
Undocumented |
Instance Variable | name |
Undocumented |
Instance Variable | upper |
Undocumented |
Inherited from Type
(via TypeVarLikeType
, ProperType
):
Method | __repr__ |
Undocumented |
Method | can |
Undocumented |
Method | can |
Undocumented |
Method | can |
Undocumented |
Method | can |
Undocumented |
Method | is |
Undocumented |
Property | can |
Undocumented |
Property | can |
Undocumented |
Instance Variable | _can |
Undocumented |
Instance Variable | _can |
Undocumented |
Inherited from Context
(via TypeVarLikeType
, ProperType
, Type
):
Method | set |
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 |
Undocumented |
Instance Variable | end |
Undocumented |
Instance Variable | line |
Undocumented |
def __init__(self, name:
str
, fullname: str
, id: TypeVarId|int
, values: list[ Type]
, upper_bound: Type
, variance: int
= INVARIANT, line: int
= -1, column: int
= -1):
(source)
¶
overrides
mypy.types.TypeVarLikeType.__init__
Undocumented
def copy_modified(self, values:
Bogus[ list[ Type]]
= _dummy, upper_bound: Bogus[ Type]
= _dummy, id: Bogus[ TypeVarId|int]
= _dummy, line: int
= _dummy_int, column: int
= _dummy_int) -> TypeVarType
:
(source)
¶
Undocumented