Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e0b26ce

Browse filesBrowse files
committed
edit docstring
1 parent 79c8a2d commit e0b26ce
Copy full SHA for e0b26ce

File tree

Expand file treeCollapse file tree

2 files changed

+6
-4
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+6
-4
lines changed

‎Lib/concurrent/futures/_base.py

Copy file name to clipboardExpand all lines: Lib/concurrent/futures/_base.py
+3-2Lines 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

Copy file name to clipboardExpand all lines: Lib/concurrent/futures/process.py
+3-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.