CodeQL library for Python
Search

Member predicate ExceptStmt::getLastStatement

Gets the final statement in this statement, ordered by location. Will be this statement if not a compound statement.

Stmt getLastStatement()