API reference

python:astx:astx.flows.WhileExpr.__init__

method __init__

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

Source: packages/astx/src/astx/flows.py:1007

Initialize the WhileExpr instance.

Parameters

Search documentation

Type to search.