class documentation

class TypeVarLikeExpr(SymbolNode, Expression): (source)

Known subclasses: mypy.nodes.ParamSpecExpr, mypy.nodes.TypeVarExpr

View In Hierarchy

Base class for TypeVarExpr and ParamSpecExpr.
Method __init__ Undocumented
Class Variable __slots__ Undocumented
Instance Variable upper​_bound 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 Node (via SymbolNode):

Method __str__ Undocumented
Method accept Undocumented

Inherited from Context (via SymbolNode, Node):

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

Inherited from Expression:

Method accept Undocumented

Inherited from Node (via Expression):

Method __str__ Undocumented

Inherited from Context (via Expression, Node):

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
def __init__(self, name, fullname, upper_bound, variance=INVARIANT): (source)

Undocumented

Parameters
name:strUndocumented
fullname:strUndocumented
upper​_bound:mypy.types.TypeUndocumented
variance:intUndocumented
__slots__: tuple[str, ...] = (source)
upper_bound = (source)

Undocumented

variance = (source)

Undocumented

@property
fullname: str = (source)

Undocumented

@property
name: str = (source)

Undocumented

_fullname = (source)

Undocumented

_name = (source)

Undocumented