diff options
author | R David Murray <rdmurray@bitdance.com> | 2012-10-07 02:26:52 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2012-10-07 02:26:52 (GMT) |
commit | ace51622941d792e3bf610e039735fe6136920bb (patch) | |
tree | cc81c43532d9a21df0071b7a168cb2db7203a8b1 /Doc/library/multiprocessing.rst | |
parent | fd740967baf73dcee9d294f690d41d67e81f308c (diff) | |
download | cpython-ace51622941d792e3bf610e039735fe6136920bb.zip cpython-ace51622941d792e3bf610e039735fe6136920bb.tar.gz cpython-ace51622941d792e3bf610e039735fe6136920bb.tar.bz2 |
starmap/starmap_async for whatsnew, and fix multiprocessing Pool markup.
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 6c29e3f..82c8610 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -29,7 +29,7 @@ Windows. Functionality within this package requires that the ``__main__`` module be importable by the children. This is covered in :ref:`multiprocessing-programming` however it is worth pointing out here. This means that some examples, such - as the :class:`multiprocessing.Pool` examples will not work in the + as the :class:`multiprocessing.pool.Pool` examples will not work in the interactive interpreter. For example:: >>> from multiprocessing import Pool @@ -1638,7 +1638,7 @@ Process Pools One can create a pool of processes which will carry out tasks submitted to it with the :class:`Pool` class. -.. class:: multiprocessing.Pool([processes[, initializer[, initargs[, maxtasksperchild]]]]) +.. class:: Pool([processes[, initializer[, initargs[, maxtasksperchild]]]]) A process pool object which controls a pool of worker processes to which jobs can be submitted. It supports asynchronous results with timeouts and |