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
parent
commit
32096df0e0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      Doc/library/multiprocessing.rst

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

Loading…
Cancel
Save