mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
python: do not change autogenerated file
This commit is contained in:
@@ -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) }
|
||||
|
||||
@@ -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() }
|
||||
|
||||
Reference in New Issue
Block a user