API reference
python:astx:astx.callables.YieldFromExpr.__init__
method __init__
__init__(value: Expr, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None) -> None
Source: packages/astx/src/astx/callables.py:905
Initialize the YieldFromExpr instance.
Parameters
-
value โ Type: Expr
-
loc โ Type: SourceLocation
-
parent โ Type: Optional[ASTNodes]