mirror of
https://github.com/python/cpython.git
synced 2025-12-07 17:57:56 +00:00
Doc: Fix link in multiprocessing.starmap pointing to builtin map. (GH-26560)
This commit is contained in:
parent
c45fa1a5d9
commit
32096df0e0
1 changed files with 3 additions and 2 deletions
|
|
@ -2242,8 +2242,9 @@ with the :class:`Pool` class.
|
||||||
|
|
||||||
.. method:: starmap(func, iterable[, chunksize])
|
.. method:: starmap(func, iterable[, chunksize])
|
||||||
|
|
||||||
Like :meth:`map` except that the elements of the *iterable* are expected
|
Like :meth:`~multiprocessing.pool.Pool.map` except that the
|
||||||
to be iterables that are unpacked as arguments.
|
elements of the *iterable* are expected to be iterables that are
|
||||||
|
unpacked as arguments.
|
||||||
|
|
||||||
Hence an *iterable* of ``[(1,2), (3, 4)]`` results in ``[func(1,2),
|
Hence an *iterable* of ``[(1,2), (3, 4)]`` results in ``[func(1,2),
|
||||||
func(3,4)]``.
|
func(3,4)]``.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue