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

Member predicate ControlFlowNode::isClass

Whether this flow node corresponds to a class definition expression

predicate isClass()