From c50b58ecd9354d3052a0cd5b01e09eb7f5ca0a7b Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Wed, 7 Jul 2021 10:25:01 +0200 Subject: [PATCH] Doc: Fix link in multiprocessing.starmap pointing to builtin map. (GH-26560) (cherry picked from commit 32096df0e00e692ee6dc688e62213bff0dffd573) Co-authored-by: Julien Palard --- Doc/library/multiprocessing.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index 4562128394f88c..e81dd7e648f7fe 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -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)]``.