summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2017-10-30 18:47:39 (GMT)
committerMariatta <Mariatta@users.noreply.github.com>2017-10-30 18:47:39 (GMT)
commit2702380870b63ebe0161dfa29a2d0a3de02401b4 (patch)
treec99e734aae0f45b4fe5c5d064c93df3ab66a64d8
parent9ea5a3a45b35d01b602e7e4da4f72b2db407e5c6 (diff)
downloadcpython-2702380870b63ebe0161dfa29a2d0a3de02401b4.zip
cpython-2702380870b63ebe0161dfa29a2d0a3de02401b4.tar.gz
cpython-2702380870b63ebe0161dfa29a2d0a3de02401b4.tar.bz2
bpo-31304: Update starmap_async documentation. (GH-4168) (GH-4177)
Update the kwarg in the documentation of `multiprocessing.pool.Pool.starmap_async`, from `error_back` to `error_callback` to match the source code. (cherry picked from commit 11225753a89c2907bb717e6c050fe907e5e11829)
-rw-r--r--Doc/library/multiprocessing.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index 2f770b6..2a52af1 100644
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -2165,7 +2165,7 @@ with the :class:`Pool` class.
.. versionadded:: 3.3
- .. method:: starmap_async(func, iterable[, chunksize[, callback[, error_back]]])
+ .. method:: starmap_async(func, iterable[, chunksize[, callback[, error_callback]]])
A combination of :meth:`starmap` and :meth:`map_async` that iterates over
*iterable* of iterables and calls *func* with the iterables unpacked.