python: do not change autogenerated file

This commit is contained in:
Rasmus Lerchedahl Petersen
2022-12-15 14:02:52 +01:00
parent a97bbdd0bc
commit 3a8fd910b1
2 changed files with 2 additions and 2 deletions

View File

@@ -1379,7 +1379,7 @@ class Try_ extends @py_Try, Stmt {
Stmt getHandler(int index) { result = this.getHandlers().getItem(index) }
/** Gets an exception handler of this try statement. */
ExceptionHandler getAHandler() { result = this.getHandlers().getAnItem() }
Stmt getAHandler() { result = this.getHandlers().getAnItem() }
/** Gets the finally block of this try statement. */
StmtList getFinalbody() { py_stmt_lists(result, this, 4) }

View File

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