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

Predicate SsaSource::pattern_capture_definition

Holds if v is defined by a capture pattern.

Import path

import python
predicate pattern_capture_definition(Variable v, ControlFlowNode defn)