From def51ca8ea68630f4e3d3a1d8b9b5a4aceb91105 Mon Sep 17 00:00:00 2001 From: Richard Oudkerk Date: Mon, 6 May 2013 12:10:04 +0100 Subject: Issue #17805: Add AsyncResult alias for ApplyResult --- Lib/multiprocessing/pool.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/multiprocessing/pool.py b/Lib/multiprocessing/pool.py index 7f73b44..fc9d904 100644 --- 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()` # -- cgit v0.12