Skip to content

Commit 3c74f83

Browse files
committed
Formatting
1 parent b4f5dcf commit 3c74f83

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎Doc/whatsnew/3.16.rst‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,16 +417,15 @@ math
417417
multiprocessing
418418
---------------
419419

420-
* Add the optional ``buffersize`` parameter to
420+
* Add the optional *buffersize* parameter to
421421
:meth:`multiprocessing.pool.Pool.imap` and
422422
:meth:`multiprocessing.pool.Pool.imap_unordered` to limit the number of
423423
submitted tasks whose results have not yet been yielded. If the buffer is
424-
full, iteration over the *iterables* pauses until a result is yielded from
424+
full, iteration over the *iterable* pauses until a result is yielded from
425425
the buffer. To fully utilize pool's capacity when using this feature, set
426426
*buffersize* at least to the number of processes in pool (to consume
427427
*iterable* as you go), or even higher (to prefetch the next
428428
``N=buffersize-processes`` arguments).
429-
430429
(Contributed by Oleksandr Baltian in :gh:`136871`.)
431430

432431

0 commit comments

Comments
 (0)