File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
python/ql/lib/semmle/python Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1379,7 +1379,7 @@ class Try_ extends @py_Try, Stmt {
13791379 Stmt getHandler ( int index ) { result = this .getHandlers ( ) .getItem ( index ) }
13801380
13811381 /** Gets an exception handler of this try statement. */
1382- ExceptionHandler getAHandler ( ) { result = this .getHandlers ( ) .getAnItem ( ) }
1382+ Stmt getAHandler ( ) { result = this .getHandlers ( ) .getAnItem ( ) }
13831383
13841384 /** Gets the finally block of this try statement. */
13851385 StmtList getFinalbody ( ) { py_stmt_lists ( result , this , 4 ) }
Original file line number Diff line number Diff line change @@ -422,7 +422,7 @@ class Try extends Try_ {
422422 result = this .getAnOrelse ( )
423423 }
424424
425- override Stmt getHandler ( int i ) { result = Try_ .super .getHandler ( i ) }
425+ override ExceptionHandler getHandler ( int i ) { result = Try_ .super .getHandler ( i ) }
426426
427427 /** Gets a normal exception handler, `except`, of this try statement. */
428428 ExceptStmt getANormalHandler ( ) { result = this .getAHandler ( ) }
You can’t perform that action at this time.
0 commit comments