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

Member predicate ControlFlowNode::isClass

Whether this flow node corresponds to a class definition expression

predicate isClass()