API reference
python:astx:astx.operators.AssignmentExpr.__init__
method __init__
__init__(targets: Iterable[Expr] | ASTNodes[Expr], value: Expr, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None) -> None
Source: packages/astx/src/astx/operators.py:113
Initialize the assignment expression.
Parameters
-
targets — Type: Iterable[Expr] | ASTNodes[Expr]
-
value — Type: Expr
-
loc — Type: SourceLocation
-
parent — Type: Optional[ASTNodes]