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

Predicate matchClassReadStep

class pattern: all keywords read the appropriate attribute from the subject syntax (toplevel): case ClassName(attr = val):

Import path

import semmle.python.dataflow.new.internal.MatchUnpacking
predicate matchClassReadStep(Node nodeFrom, Content c, Node nodeTo)