API reference

python:astx:astx.YieldExpr.__init__

method __init__

__init__(value: Optional[Expr], loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None) -> None

Source: packages/astx/src/astx/callables.py:778

Declared as: python:astx:astx.callables.YieldExpr.__init__

Initialize the YieldExpr instance.

Parameters

Search documentation

Type to search.