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

Member predicate NameNode::isGlobal

Whether this is a use of a global (including builtin) variable.

predicate isGlobal()