diff --git a/Lib/concurrent/futures/_base.py b/Lib/concurrent/futures/_base.py index 82dbc7644a1a37..73341194d96da8 100644 --- a/Lib/concurrent/futures/_base.py +++ b/Lib/concurrent/futures/_base.py @@ -586,10 +586,9 @@ def map(self, fn, *iterables, timeout=None, chunksize=1, buffersize=None): before being passed to a child process. This argument is only used by ProcessPoolExecutor; it is ignored by ThreadPoolExecutor. - buffersize: The maximum number of results that can be buffered - before being yielded. If the buffer is full, the iteration over - iterables is paused until a result is yielded from the - buffer. + buffersize: The number of results that can be buffered before being + yielded. If the buffer is full, the iteration over iterables + is paused until a result is yielded from the buffer. Returns: An iterator equivalent to: map(func, *iterables) but the calls may diff --git a/Lib/concurrent/futures/process.py b/Lib/concurrent/futures/process.py index f7df70b308a789..1a21ad40fd57f9 100644 --- a/Lib/concurrent/futures/process.py +++ b/Lib/concurrent/futures/process.py @@ -816,10 +816,9 @@ def map(self, fn, *iterables, timeout=None, chunksize=1, buffersize=None): chunksize: If greater than one, the iterables will be chopped into chunks of size chunksize and submitted to the process pool. If set to one, the items in the list will be sent one at a time. - buffersize: The maximum number of result chunks that can be buffered - before being yielded. If the buffer is full, the iteration over - iterables is paused until a result chunk is yielded from the - buffer. + buffersize: The number of result chunks that can be buffered before + being yielded. If the buffer is full, the iteration over iterables + is paused until a result chunk is yielded from the buffer. Returns: An iterator equivalent to: map(func, *iterables) but the calls may