CodeQL library for Python
codeql/python-all 0.11.3 (changelog, source)
Search

Member predicate Try::getLastStatement

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

Stmt getLastStatement()