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

Module Class

Provides classes representing Python classes.

Import path

import semmle.python.Class

Imports

Classes

Class

The scope of a class. This is the scope of all the statements within the class definition

ClassDef

A class statement. Note that ClassDef extends Assign as a class definition binds the newly created class

ClassExpr

An (artificial) expression corresponding to a class definition. It is recommended to use ClassDef instead.