Python stdlib module — itertools. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.accumulate()Neutralaccumulate(...)
Return series of accumulated sums (or other binary function results).
.combinations()Neutralcombinations(...)
Return successive r-length combinations of elements in the iterable.
.combinations_with_replacement()Neutralcombinations_with_replacement(...)
Return successive r-length combinations of elements in the iterable allowing individual elements to have successive repeats.
.compress()Neutralcompress(...)
Return data elements corresponding to true selector elements.
.count()Neutralcount(...)
Return a count object whose .__next__() method returns consecutive values.
.cycle()Neutralcycle(...)
Return elements from the iterable until it is exhausted. Then repeat the sequence indefinitely.
.dropwhile()Neutraldropwhile(...)
Drop items from the iterable while predicate(item) is true.
.filterfalse()Neutralfilterfalse(...)
Return those items of iterable for which function(item) is false.
| FQN | Field | |
|---|---|---|
| itertools | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import itertools