Skip to content

Commit eb48a45

Browse files
aiskmiss-islington
authored andcommitted
bpo-27873: Update docstring for multiprocessing.Pool.map (GH-17436)
Update docstring for `multiprocessing.Pool.map` to mention `pool.starmap()`. Prev PR: #17367 @aeros https://bugs.python.org/issue27873
1 parent 8943318 commit eb48a45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/multiprocessing.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2169,7 +2169,8 @@ with the :class:`Pool` class.
21692169
.. method:: map(func, iterable[, chunksize])
21702170

21712171
A parallel equivalent of the :func:`map` built-in function (it supports only
2172-
one *iterable* argument though). It blocks until the result is ready.
2172+
one *iterable* argument though, for multiple iterables see :meth:`starmap`).
2173+
It blocks until the result is ready.
21732174

21742175
This method chops the iterable into a number of chunks which it submits to
21752176
the process pool as separate tasks. The (approximate) size of these

0 commit comments

Comments
 (0)