class documentation
class TypeVarLikeExpr(SymbolNode, Expression): (source)
Known subclasses: mypy.nodes.ParamSpecExpr
, mypy.nodes.TypeVarExpr
, mypy.nodes.TypeVarTupleExpr
Base class for TypeVarExpr, ParamSpecExpr and TypeVarTupleExpr. Note that they are constructed by the semantic analyzer.
Method | __init__ |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Instance Variable | upper |
Undocumented |
Instance Variable | variance |
Undocumented |
Property | fullname |
Undocumented |
Property | name |
Undocumented |
Instance Variable | _fullname |
Undocumented |
Instance Variable | _name |
Undocumented |
Inherited from SymbolNode
:
Class Method | deserialize |
Undocumented |
Method | serialize |
Undocumented |
Inherited from Expression
(via SymbolNode
):
Method | accept |
Undocumented |
Inherited from Node
(via SymbolNode
, Expression
):
Method | __str__ |
Undocumented |
Inherited from Context
(via SymbolNode
, Expression
, Node
):
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
, upper_bound: mypy.types.Type
, variance: int
= INVARIANT):
(source)
¶
overrides
mypy.nodes.Context.__init__
overridden in
mypy.nodes.TypeVarExpr
, mypy.nodes.TypeVarTupleExpr
Undocumented