From: Richard Oudkerk Date: Mon, 6 May 2013 11:10:04 +0000 (+0100) Subject: Issue #17805: Add AsyncResult alias for ApplyResult X-Git-Tag: v3.3.2~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=def51ca8ea68630f4e3d3a1d8b9b5a4aceb91105;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 7f73b441c2e2..fc9d90402b31 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()` #