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

Member predicate Scope::getEnclosingScope

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

Scope getEnclosingScope()