python: also override `getAHandler

(to get new result type)
This commit is contained in:
Rasmus Lerchedahl Petersen
2022-12-16 13:40:10 +01:00
parent d216460032
commit 96ae148118

View File

@@ -408,6 +408,8 @@ class Try extends Try_ {
override ExceptionHandler getHandler(int i) { result = Try_.super.getHandler(i) }
override ExceptionHandler getAHandler() { result = Try_.super.getAHandler() }
/** Gets a normal exception handler, `except`, of this try statement. */
ExceptStmt getANormalHandler() { result = this.getAHandler() }