mirror of https://github.com/python/cpython
#12709: add error_callback argument to map_async documentation
This commit is contained in:
parent
61baee0ee7
commit
db79e95195
|
@ -1609,7 +1609,7 @@ with the :class:`Pool` class.
|
||||||
the process pool as separate tasks. The (approximate) size of these
|
the process pool as separate tasks. The (approximate) size of these
|
||||||
chunks can be specified by setting *chunksize* to a positive integer.
|
chunks can be specified by setting *chunksize* to a positive integer.
|
||||||
|
|
||||||
.. method:: map_async(func, iterable[, chunksize[, callback]])
|
.. method:: map_async(func, iterable[, chunksize[, callback[, error_callback]]])
|
||||||
|
|
||||||
A variant of the :meth:`.map` method which returns a result object.
|
A variant of the :meth:`.map` method which returns a result object.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue