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

Member predicate Scope::getEnclosingScope

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

Scope getEnclosingScope()