Skip to content
Snippets Groups Projects
Unverified Commit f526d102 authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub
Browse files

Simple Documentation fix: Missing link to return type class. (GH-21291)



Just a simple documentation fix: apply_async and map_async return a "multiprocessing.pool.AsyncResult Object", not a "result object".
(cherry picked from commit f9bf0157)

Co-authored-by: default avatarVolker-Weissmann <39418860+Volker-Weissmann@users.noreply.github.com>
parent 58f59a96
Branches
Tags
No related merge requests found
...@@ -2163,7 +2163,8 @@ with the :class:`Pool` class. ...@@ -2163,7 +2163,8 @@ with the :class:`Pool` class.
.. method:: apply_async(func[, args[, kwds[, callback[, error_callback]]]]) .. method:: apply_async(func[, args[, kwds[, callback[, error_callback]]]])
A variant of the :meth:`apply` method which returns a result object. A variant of the :meth:`apply` method which returns a
:class:`~multiprocessing.pool.AsyncResult` object.
If *callback* is specified then it should be a callable which accepts a If *callback* is specified then it should be a callable which accepts a
single argument. When the result becomes ready *callback* is applied to single argument. When the result becomes ready *callback* is applied to
...@@ -2193,7 +2194,8 @@ with the :class:`Pool` class. ...@@ -2193,7 +2194,8 @@ with the :class:`Pool` class.
.. method:: map_async(func, iterable[, chunksize[, callback[, error_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
:class:`~multiprocessing.pool.AsyncResult` object.
If *callback* is specified then it should be a callable which accepts a If *callback* is specified then it should be a callable which accepts a
single argument. When the result becomes ready *callback* is applied to single argument. When the result becomes ready *callback* is applied to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment