diff options
author | Georg Brandl <georg@python.org> | 2009-07-26 15:02:41 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-07-26 15:02:41 (GMT) |
commit | 502d9a5c2cf7c0837911890e7dcccd7aada10adf (patch) | |
tree | 5e712865fce6c8490a87873b2b4694bc965d2233 /Doc/library/multiprocessing.rst | |
parent | 22b3431426349a424e3486c279db8b84cf671da0 (diff) | |
download | cpython-502d9a5c2cf7c0837911890e7dcccd7aada10adf.zip cpython-502d9a5c2cf7c0837911890e7dcccd7aada10adf.tar.gz cpython-502d9a5c2cf7c0837911890e7dcccd7aada10adf.tar.bz2 |
Merged revisions 74207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74207 | georg.brandl | 2009-07-26 16:19:57 +0200 (So, 26 Jul 2009) | 1 line
#6577: fix (hopefully) all links to builtin instead of module/class-specific objects.
........
Diffstat (limited to 'Doc/library/multiprocessing.rst')
-rw-r--r-- | Doc/library/multiprocessing.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index 006fd5e..5cd70d9 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -1578,7 +1578,7 @@ with the :class:`Pool` class. .. method:: map_async(func, iterable[, chunksize[, callback]]) - A variant of the :meth:`map` method which returns a result object. + A variant of the :meth:`.map` method which returns a result object. If *callback* is specified then it should be a callable which accepts a single argument. When the result becomes ready *callback* is applied to @@ -1594,7 +1594,7 @@ with the :class:`Pool` class. make make the job complete **much** faster than using the default value of ``1``. - Also if *chunksize* is ``1`` then the :meth:`next` method of the iterator + Also if *chunksize* is ``1`` then the :meth:`!next` method of the iterator returned by the :meth:`imap` method has an optional *timeout* parameter: ``next(timeout)`` will raise :exc:`multiprocessing.TimeoutError` if the result cannot be returned within *timeout* seconds. |