API reference
python:astx:astx.exceptions.FinallyHandlerStmt.__init__
method __init__
__init__(body: Block[AST], parent: Optional[ASTNodes] = None, loc: SourceLocation = NO_SOURCE_LOCATION) -> None
Source: packages/astx/src/astx/exceptions.py:348
Initialize the instance.
Parameters
-
body โ Type: Block[AST]
-
parent โ Type: Optional[ASTNodes]
-
loc โ Type: SourceLocation