Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Doc/library/multiprocessing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2508,8 +2508,11 @@ with the :class:`Pool` class.
one *iterable* argument though, for multiple iterables see :meth:`starmap`).
It blocks until the result is ready.

This method chops the iterable into a number of chunks which it submits to
the process pool as separate tasks. The (approximate) size of these
This method chops the iterable into a number of chunks and submits each
chunk to the process pool as a separate task. A task may therefore
process multiple items from the iterable.

The (approximate) size of these
chunks can be specified by setting *chunksize* to a positive integer.

Note that it may cause high memory usage for very long iterables. Consider
Expand Down
Loading