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

Predicate iterableUnpackingConvertingStoreStep

Step 4 Data flows from TIterableElement(sequence) to sequence. Content type is TupleElementContent with indices taken from the syntax. For instance, if sequence is (a, *b, c), content is written to index 0, 1, and 2.

Import path

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