cpython: bb4bb2db6106 (original) (raw)

Mercurial > cpython

changeset 83640:bb4bb2db6106 3.3

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

Richard Oudkerk shibturn@gmail.com
date Mon, 06 May 2013 12:10:04 +0100
parents fef7f212fe76
children cdf53fd5eb2f e2a805281d26
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 @@ -572,6 +572,8 @@ class ApplyResult(object): self._event.set() del self._cache[self._job] +AsyncResult = ApplyResult # create alias -- see #17805 + #

Class whose instances are returned by Pool.map_async()

#