Home
last modified time | relevance | path

Searched refs:iterables (Results 1 – 25 of 51) sorted by relevance

123

/third_party/python/Doc/library/
Ditertools.rst173 .. 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
[all …]
Dconcurrent.futures.rst41 .. method:: map(func, *iterables, timeout=None, chunksize=1)
43 Similar to :func:`map(func, *iterables) <map>` except:
45 * the *iterables* are collected immediately rather than lazily;
59 When using :class:`ProcessPoolExecutor`, this method chops *iterables*
62 setting *chunksize* to a positive integer. For very long iterables,
Dheapq.rst86 .. function:: merge(*iterables, key=None, reverse=False)
92 Similar to ``sorted(itertools.chain(*iterables))`` but returns an iterable, does
104 to ``sorted(itertools.chain(*iterables), reverse=True)``, all iterables must
Dselect.rst120 The first three arguments are iterables of 'waitable objects': either
129 Empty iterables are allowed, but acceptance of three empty iterables is
144 Among the acceptable object types in the iterables are Python :term:`file
Dfunctions.rst995 iterables in parallel. With multiple iterables, the iterator stops when the
1691 see :func:`math.fsum`\. To concatenate a series of iterables, consider using
1833 .. function:: zip(*iterables, strict=False)
1835 Iterate over several iterables in parallel, producing tuples with an item
1848 tuple contains the *i*-th element from each of the argument iterables.
1858 One thing to consider is that the iterables passed to :func:`zip` could have
1860 the code that prepared these iterables. Python offers three different
1864 It will ignore the remaining items in the longer iterables, cutting off
1870 * :func:`zip` is often used in cases where the iterables are assumed to be
1877 Unlike the default behavior, it checks that the lengths of iterables are
[all …]
Dgraphlib.rst33 are iterables of all predecessors of that node in the graph (the nodes that
/third_party/python/Lib/
Dheapq.py314 def merge(*iterables, key=None, reverse=False): argument
347 for order, it in enumerate(map(iter, iterables)):
370 for order, it in enumerate(map(iter, iterables)):
/third_party/python/Lib/concurrent/futures/
Dprocess.py183 def _get_chunks(*iterables, chunksize): argument
185 it = zip(*iterables)
710 def map(self, fn, *iterables, timeout=None, chunksize=1): argument
735 _get_chunks(*iterables, chunksize=chunksize),
D_base.py573 def map(self, fn, *iterables, timeout=None, chunksize=1): argument
598 fs = [self.submit(fn, *args) for args in zip(*iterables)]
/third_party/python/Misc/NEWS.d/
D3.6.3.rst7 Re-allow arbitrary iterables in `concurrent.futures.as_completed()`. Fixes
D3.6.0a4.rst7 Optimized creating bytes and bytearray from byte-like objects and iterables.
D3.5.0a4.rst526 csv.Writer.writerow() now supports arbitrary iterables.
D3.6.2rc1.rst594 empty iterables.
/third_party/typescript/tests/baselines/reference/tsConfig/Initialized TSConfig with incorrect compiler option value/
Dtsconfig.json24 …// "downlevelIteration": true, /* Provide full support for iterables in 'for-of',…
/third_party/typescript/tests/baselines/reference/tsConfig/Initialized TSConfig with enum value compiler options/
Dtsconfig.json24 …// "downlevelIteration": true, /* Provide full support for iterables in 'for-of',…
/third_party/typescript/tests/baselines/reference/tsConfig/Initialized TSConfig with list compiler options/
Dtsconfig.json24 …// "downlevelIteration": true, /* Provide full support for iterables in 'for-of',…
/third_party/typescript/tests/baselines/reference/tsConfig/Initialized TSConfig with files options/
Dtsconfig.json24 …// "downlevelIteration": true, /* Provide full support for iterables in 'for-of',…
/third_party/typescript/tests/baselines/reference/tsConfig/Initialized TSConfig with boolean value compiler options/
Dtsconfig.json24 …// "downlevelIteration": true, /* Provide full support for iterables in 'for-of',…
/third_party/typescript/tests/baselines/reference/tsConfig/Initialized TSConfig with incorrect compiler option/
Dtsconfig.json24 …// "downlevelIteration": true, /* Provide full support for iterables in 'for-of',…
/third_party/typescript/tests/baselines/reference/tsConfig/Initialized TSConfig with list compiler options with enum value/
Dtsconfig.json24 …// "downlevelIteration": true, /* Provide full support for iterables in 'for-of',…
/third_party/typescript/tests/baselines/reference/tsConfig/Default initialized TSConfig/
Dtsconfig.json24 …// "downlevelIteration": true, /* Provide full support for iterables in 'for-of',…
/third_party/typescript/tests/baselines/reference/tsConfig/Initialized TSConfig with advanced options/
Dtsconfig.json24 …// "downlevelIteration": true, /* Provide full support for iterables in 'for-of',…
/third_party/flutter/flutter/packages/flutter/lib/src/foundation/
Dbasic_types.dart103 /// also applies to any iterables derived from this one, e.g. as
/third_party/python/Doc/howto/
Dfunctional.rst722 This iterator is intended to be used with iterables that are all of the same
723 length. If the iterables are of different lengths, the resulting stream will be
778 number of iterables as input, and returns all the elements of the first
780 iterables have been exhausted. ::
1020 therefore, can't be applied to infinite iterables. *func* must be a function
/third_party/python/Doc/whatsnew/
D2.6.rst1582 * Several methods of the built-in set types now accept multiple iterables:
1976 takes any number of iterables returning data in sorted
2012 each of the elements; if some of the iterables are shorter than
2019 of the supplied iterables, a set of tuples containing
2028 product of an iterable or a set of iterables with themselves,
2036 With two iterables, *2N*-tuples are returned. ::
2065 ``itertools.chain(*iterables)`` is an existing function in
2068 iterable that should return other iterables. :func:`chain` will

123