]> granicus.if.org Git - python/commitdiff
Fix Issue13147 - Correct the Multiprocessing Pool.map_async method signature.
authorSenthil Kumaran <senthil@uthcode.com>
Wed, 2 Nov 2011 18:02:38 +0000 (02:02 +0800)
committerSenthil Kumaran <senthil@uthcode.com>
Wed, 2 Nov 2011 18:02:38 +0000 (02:02 +0800)
Remove the error_callback which is not present in 2.7. Patch by Jyrki
Pulliainen.

Doc/library/multiprocessing.rst

index c0c0ae8f433bd76c13221925093bc58eb08f5717..454700b1afc9fb28c4aa0b0e76e059559be85043 100644 (file)
@@ -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.