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

Member predicate Function::getEvaluatingScope

Gets the evaluation scope for code in this (lexical) scope. This is usually the scope itself, but may be an enclosing scope. Notably, for list comprehensions in Python 2.

Scope getEvaluatingScope()