itertools
count(start: T = 0, step: T = 1, T: type)
cycle(iterable: Generator[T], T: type)
repeat(object: T, times: Optional[int] = None, T: type)
accumulate(iterable: Generator[T], func = lambda a, b: (a + b), initial = 0, T: type)
accumulate(iterable: Generator[T], func = lambda a, b: (a + b), T: type)
class chain
Constructors
1
Methods
1
compress(data: Generator[T], selectors: Generator[B], T: type, B: type)
dropwhile(predicate: CallableTrait[T, bool], iterable: Generator[T], T: type)
filterfalse(predicate: CallableTrait[T, bool], iterable: Generator[T], T: type)
groupby(iterable, key = None)
islice(iterable: Generator[T], stop: Optional[int], T: type)
islice(iterable: Generator[T], start: Optional[int], stop: Optional[int], step: Optional[int] = None, T: type)
starmap(function, iterable)
takewhile(predicate: CallableTrait[T, bool], iterable: Generator[T], T: type)
tee(iterable: Generator[T], n: int = 2, T: type)
zip_longest(*iterables, fillvalue)
zip_longest(*args)
product(*iterables, repeat: int)
product(*iterables, repeat: Literal[int] = 1)
combinations(pool, r: int)
combinations(pool, r: Literal[int])
combinations_with_replacement(pool, r: int)
combinations_with_replacement(pool, r: Literal[int])
permutations(pool, r = None)
permutations(pool, r: Literal[int])