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

Module Variables

Import path

import semmle.python.Variables

Imports

Classes

FastLocalVariable

A local variable that uses “load fast” semantics, for lookup: If the variable is undefined, then raise an exception.

GlobalVariable

A global (module-level) variable

LocalVariable

A local (function or class) variable

NameLocalVariable

A local variable that uses “load name” semantics, for lookup: If the variable is undefined, then lookup the value in globals().

Variable

A variable, either a global or local variable (including parameters)