Skip to content

Commit e0b26ce

Browse files
committed
edit docstring
1 parent 79c8a2d commit e0b26ce

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Lib/concurrent/futures/_base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -587,8 +587,9 @@ def map(self, fn, *iterables, timeout=None, chunksize=1, buffersize=None):
587587
used by ProcessPoolExecutor; it is ignored by
588588
ThreadPoolExecutor.
589589
buffersize: The number of results that can be buffered before being
590-
yielded. If the buffer is full, the iteration over iterables
591-
is paused until a result is yielded from the buffer.
590+
yielded. When the buffer is full, iteration over the input
591+
iterables is paused until a result is yielded from the buffer.
592+
If None, buffering is unlimited.
592593
593594
Returns:
594595
An iterator equivalent to: map(func, *iterables) but the calls may

Lib/concurrent/futures/process.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -817,8 +817,9 @@ def map(self, fn, *iterables, timeout=None, chunksize=1, buffersize=None):
817817
chunks of size chunksize and submitted to the process pool.
818818
If set to one, the items in the list will be sent one at a time.
819819
buffersize: The number of result chunks that can be buffered before
820-
being yielded. If the buffer is full, the iteration over iterables
821-
is paused until a result chunk is yielded from the buffer.
820+
being yielded. When the buffer is full, iteration over the input
821+
iterables is paused until a result chunk is yielded from the
822+
buffer. If None, buffering is unlimited.
822823
823824
Returns:
824825
An iterator equivalent to: map(func, *iterables) but the calls may

0 commit comments

Comments
 (0)