class documentation
Assignment statement. The same node class is used for single assignment, multiple assignment (e.g. x, y = z) and chained assignment (e.g. x = y = z), assignments that define new names, and assignments with explicit types ("# type: t" or "x: t [= ...]"). An lvalue can be NameExpr, TupleExpr, ListExpr, MemberExpr, or IndexExpr.
Method | __init__ |
Undocumented |
Method | accept |
Undocumented |
Class Variable | __match |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Instance Variable | invalid |
Undocumented |
Instance Variable | is |
Undocumented |
Instance Variable | is |
Undocumented |
Instance Variable | lvalues |
Undocumented |
Instance Variable | new |
Undocumented |
Instance Variable | rvalue |
Undocumented |
Instance Variable | type |
Undocumented |
Instance Variable | unanalyzed |
Undocumented |
Inherited from Node
(via Statement
):
Method | __str__ |
Undocumented |
Inherited from Context
(via Statement
, 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, lvalues:
list[ Lvalue]
, rvalue: Expression
, type: mypy.types.Type|None
= None, new_syntax: bool
= False):
(source)
¶
overrides
mypy.nodes.Context.__init__
Undocumented