Lines Matching refs:iterables
173 .. function:: chain(*iterables)
176 exhausted, then proceeds to the next iterable, until all of the iterables are
180 def chain(*iterables):
182 for it in iterables:
192 def from_iterable(iterables):
194 for it in iterables:
299 Stops when either the *data* or *selectors* iterables has been exhausted.
556 .. function:: product(*iterables, repeat=1)
558 Cartesian product of input iterables.
565 the input's iterables are sorted, the product tuples are emitted in sorted
585 Before :func:`product` runs, it completely consumes the input iterables,
680 .. function:: zip_longest(*iterables, fillvalue=None)
682 Make an iterator that aggregates elements from each of the iterables. If the
683 iterables are of uneven length, missing values are filled-in with *fillvalue*.
706 If one of the iterables is potentially infinite, then the :func:`zip_longest`
838 def roundrobin(*iterables):
841 num_active = len(iterables)
842 nexts = cycle(iter(it).__next__ for it in iterables)