From: Senthil Kumaran Date: Wed, 2 Nov 2011 18:02:38 +0000 (+0800) Subject: Fix Issue13147 - Correct the Multiprocessing Pool.map_async method signature. X-Git-Tag: v2.7.3rc1~334 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0fc13ae3453daee287d826aa2eb063e6e960941b;p=python Fix Issue13147 - Correct the Multiprocessing Pool.map_async method signature. Remove the error_callback which is not present in 2.7. Patch by Jyrki Pulliainen. --- diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index c0c0ae8f43..454700b1af 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -1602,7 +1602,7 @@ with the :class:`Pool` class. the process pool as separate tasks. The (approximate) size of these chunks can be specified by setting *chunksize* to a positive integer. - .. method:: map_async(func, iterable[, chunksize[, callback[, error_callback]]]) + .. method:: map_async(func, iterable[, chunksize[, callback]]) A variant of the :meth:`.map` method which returns a result object.