Browse Source
Doc: Fix link in multiprocessing.starmap pointing to builtin map. (GH-26560)
pull/27051/head
Julien Palard
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
2 deletions
-
Doc/library/multiprocessing.rst
|
|
|
@ -2242,8 +2242,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)]``. |
|
|
|
|