From: Richard Oudkerk Date: Mon, 6 May 2013 11:04:28 +0000 (+0100) Subject: Issue #17805: Add AsyncResult alias for ApplyResult X-Git-Tag: v2.7.5~20 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a9b90a7ff5c48f9823f6f78258bd0126f8ef1d43;p=thirdparty%2FPython%2Fcpython.git Issue #17805: Add AsyncResult alias for ApplyResult --- diff --git a/Lib/multiprocessing/pool.py b/Lib/multiprocessing/pool.py index 00c904a8a731..4d1860029c17 100644 --- 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()` #