diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-12-26 11:15:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-26 11:15:14 (GMT) |
commit | 2cb9ed2a6a082972bfc496eccb320c3ae3df72df (patch) | |
tree | 3b819eaacaffef09215eb76eea06fae0c569ca2a /Doc | |
parent | 11909c12c75a7f377460561abc97707a4006fc07 (diff) | |
download | cpython-2cb9ed2a6a082972bfc496eccb320c3ae3df72df.zip cpython-2cb9ed2a6a082972bfc496eccb320c3ae3df72df.tar.gz cpython-2cb9ed2a6a082972bfc496eccb320c3ae3df72df.tar.bz2 |
Doc: Fix link in multiprocessing.starmap pointing to builtin map. (GH-26560)
(cherry picked from commit 32096df0e00e692ee6dc688e62213bff0dffd573)
Co-authored-by: Julien Palard <julien@palard.fr>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/multiprocessing.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index 4562128..e81dd7e 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)]``. |