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:308
Initialize the instance.
Parameters
-
body โ Statements forming the body.; Type: Block[AST]
-
parent โ Parent node or enclosing scope.; Type: Optional[ASTNodes]
-
loc โ Source coordinates associated with the node.; Type: SourceLocation
Returns
Type: None