Lines Matching refs:iterables
155 .. function:: chain(*iterables)
158 exhausted, then proceeds to the next iterable, until all of the iterables are
162 def chain(*iterables):
164 for it in iterables:
174 def from_iterable(iterables):
176 for it in iterables:
281 Stops when either the *data* or *selectors* iterables has been exhausted.
520 .. function:: product(*iterables, repeat=1)
522 Cartesian product of input iterables.
529 the input's iterables are sorted, the product tuples are emitted in sorted
637 .. function:: zip_longest(*iterables, fillvalue=None)
639 Make an iterator that aggregates elements from each of the iterables. If the
640 iterables are of uneven length, missing values are filled-in with *fillvalue*.
663 If one of the iterables is potentially infinite, then the :func:`zip_longest`
767 def roundrobin(*iterables):
770 num_active = len(iterables)
771 nexts = cycle(iter(it).__next__ for it in iterables)