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

Member predicate Scope::getEnclosingScope

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

Scope getEnclosingScope()