API reference

python:astx:astx.CatchHandlerStmt.__init__

method __init__

__init__(body: Block[AST], name: Optional[Identifier] = None, types: Optional[Iterable[Expr] | ASTNodes[Expr]] = None, parent: Optional[ASTNodes] = None, loc: SourceLocation = NO_SOURCE_LOCATION) -> None

Source: packages/astx/src/astx/exceptions.py:129

Declared as: python:astx:astx.exceptions.CatchHandlerStmt.__init__

Initialize the instance.

Parameters

Search documentation

Type to search.