mirror of
https://github.com/python/cpython.git
synced 2026-02-13 19:04:37 +00:00
Doc: Fix link in multiprocessing.starmap pointing to builtin map. (GH-26560)
(cherry picked from commit 32096df0e0)
Co-authored-by: Julien Palard <julien@palard.fr>
This commit is contained in:
parent
11909c12c7
commit
2cb9ed2a6a
1 changed files with 3 additions and 2 deletions
|
|
@ -2250,8 +2250,9 @@ with the :class:`Pool` class.
|
|||
|
||||
.. method:: starmap(func, iterable[, chunksize])
|
||||
|
||||
Like :meth:`map` except that the elements of the *iterable* are expected
|
||||
to be iterables that are unpacked as arguments.
|
||||
Like :meth:`~multiprocessing.pool.Pool.map` except that the
|
||||
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),
|
||||
func(3,4)]``.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue