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.
510 .. function:: product(*iterables, repeat=1)
512 Cartesian product of input iterables.
519 the input's iterables are sorted, the product tuples are emitted in sorted
627 .. function:: zip_longest(*iterables, fillvalue=None)
629 Make an iterator that aggregates elements from each of the iterables. If the
630 iterables are of uneven length, missing values are filled-in with *fillvalue*.
654 If one of the iterables is potentially infinite, then the :func:`zip_longest`
753 def roundrobin(*iterables):
756 pending = len(iterables)
757 nexts = cycle(iter(it).__next__ for it in iterables)