From: Julien Palard Date: Wed, 7 Jul 2021 08:25:01 +0000 (+0200) Subject: Doc: Fix link in multiprocessing.starmap pointing to builtin map. (GH-26560) X-Git-Tag: v3.11.0a1~722 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=32096df0e00e692ee6dc688e62213bff0dffd573;p=thirdparty%2FPython%2Fcpython.git Doc: Fix link in multiprocessing.starmap pointing to builtin map. (GH-26560) --- diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index ae4f7bf3b962..b9396c3c7531 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)]``.