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

Member predicate Scope::getEnclosingScope

Gets the scope enclosing this scope (modules have no enclosing scope)

Scope getEnclosingScope()