API reference

python:astx:astx.system.AssertStmt.__init__

method __init__

__init__(condition: astx.Expr, message: astx.Expr | None = None, loc: astx.SourceLocation = astx.base.NO_SOURCE_LOCATION, parent: astx.ASTNodes[astx.AST] | None = None) -> None

Source: packages/astx/src/astx/system.py:34

Initialize AssertStmt.

Parameters

Search documentation

Type to search.