Doc: Fix link in multiprocessing.starmap pointing to builtin map. (GH-26560)

This commit is contained in:
Julien Palard 2021-07-07 10:25:01 +02:00 committed by GitHub
parent c45fa1a5d9
commit 32096df0e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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)]``.