summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Noller <jnoller@gmail.com>2009-01-22 21:53:22 (GMT)
committerJesse Noller <jnoller@gmail.com>2009-01-22 21:53:22 (GMT)
commit403c6632e6c3bc45309b2b234dc6e2267742b0d5 (patch)
treef17f524f108374c8ea3207346aa004c2da6a0965
parent40e841550930e3729597b649814940d4cbeabf18 (diff)
downloadcpython-403c6632e6c3bc45309b2b234dc6e2267742b0d5.zip
cpython-403c6632e6c3bc45309b2b234dc6e2267742b0d5.tar.gz
cpython-403c6632e6c3bc45309b2b234dc6e2267742b0d5.tar.bz2
Issue 4593: apply() documentation is unclear
-rw-r--r--Doc/library/multiprocessing.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index fe54f9b..ee92a7c 100644
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -1524,7 +1524,9 @@ with the :class:`Pool` class.
.. method:: apply(func[, args[, kwds]])
Equivalent of the :func:`apply` builtin function. It blocks till the
- result is ready.
+ result is ready. Given this blocks - :meth:`apply_async` is better suited
+ for performing work in parallel. Additionally, the passed
+ in function is only executed in one of the workers of the pool.
.. method:: apply_async(func[, args[, kwds[, callback]]])