summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2021-07-07 08:25:01 (GMT)
committerGitHub <noreply@github.com>2021-07-07 08:25:01 (GMT)
commit32096df0e00e692ee6dc688e62213bff0dffd573 (patch)
treefe28ad12434371a54906937f3fbbb417e3dca121
parentc45fa1a5d9b419cf13ad4b5a7cb453956495b83e (diff)
downloadcpython-32096df0e00e692ee6dc688e62213bff0dffd573.zip
cpython-32096df0e00e692ee6dc688e62213bff0dffd573.tar.gz
cpython-32096df0e00e692ee6dc688e62213bff0dffd573.tar.bz2
Doc: Fix link in multiprocessing.starmap pointing to builtin map. (GH-26560)
-rw-r--r--Doc/library/multiprocessing.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index ae4f7bf..b9396c3 100644
--- a/Doc/library/multiprocessing.rst
+++ b/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)]``.