API reference

python:astx:astx.context.WithStmt.__init__

method __init__

__init__(manager: astx.AST, body: astx.Block, target: astx.AST | None = None, loc: SourceLocation = NO_SOURCE_LOCATION, parent: astx.ASTNodes | None = None) -> None

Source: packages/astx/src/astx/context.py:39

Initialize one with statement.

Parameters

Search documentation

Type to search.