mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +00:00
Issue 4593: apply() documentation is unclear
This commit is contained in:
parent
40e8415509
commit
403c6632e6
1 changed files with 3 additions and 1 deletions
|
@ -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]]])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue