]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: Fix link in multiprocessing.starmap pointing to builtin map. (GH-26560)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 26 Dec 2021 11:15:38 +0000 (03:15 -0800)
committerGitHub <noreply@github.com>
Sun, 26 Dec 2021 11:15:38 +0000 (03:15 -0800)
(cherry picked from commit 32096df0e00e692ee6dc688e62213bff0dffd573)

Co-authored-by: Julien Palard <julien@palard.fr>
Doc/library/multiprocessing.rst

index 2c7d7d8c0e8b12de13a5af9b828c79af31cd8eae..96bc6c153284afb33a663ba48cb6c060589d0f3e 100644 (file)
@@ -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)]``.