cpython: 2684176519ef (original) (raw)

Mercurial > cpython

changeset 83639:2684176519ef 2.7

Issue #17805: Add AsyncResult alias for ApplyResult [#17805]

Richard Oudkerk shibturn@gmail.com
date Mon, 06 May 2013 12:04:28 +0100
parents b1abc5800e2b
children c6c2b216bd14
files Lib/multiprocessing/pool.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-)[+] [-] Lib/multiprocessing/pool.py 2

line wrap: on

line diff

--- a/Lib/multiprocessing/pool.py +++ b/Lib/multiprocessing/pool.py @@ -565,6 +565,8 @@ class ApplyResult(object): self._cond.release() del self._cache[self._job] +AsyncResult = ApplyResult # create alias -- see #17805 + #

Class whose instances are returned by Pool.map_async()

#