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

Member predicate NameNode::isLocal

Whether this is a use of a local variable.

predicate isLocal()