[Python-checkins] bpo-31304: Update starmap_async documentation. (GH-4168) (GH-4177)
Mariatta
webhook-mailer at python.org
Mon Oct 30 14:47:42 EDT 2017
https://github.com/python/cpython/commit/2702380870b63ebe0161dfa29a2d0a3de02401b4
commit: 2702380870b63ebe0161dfa29a2d0a3de02401b4
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Mariatta <Mariatta at users.noreply.github.com>
date: 2017年10月30日T11:47:39-07:00
summary:
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)
files:
M Doc/library/multiprocessing.rst
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index 2f770b63223..2a52af1c897 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.
More information about the Python-checkins
mailing list