summaryrefslogtreecommitdiffstats
path: root/Lib/multiprocessing
diff options
context:
space:
mode:
authorRichard Oudkerk <shibturn@gmail.com>2013-05-06 11:10:04 (GMT)
committerRichard Oudkerk <shibturn@gmail.com>2013-05-06 11:10:04 (GMT)
commitdef51ca8ea68630f4e3d3a1d8b9b5a4aceb91105 (patch)
tree24928a9eb9e346516103a8e661c1f777f8d7d4a4 /Lib/multiprocessing
parent9bc7b793ead980204475c5c2309217a43b22633a (diff)
downloadcpython-def51ca8ea68630f4e3d3a1d8b9b5a4aceb91105.zip
cpython-def51ca8ea68630f4e3d3a1d8b9b5a4aceb91105.tar.gz
cpython-def51ca8ea68630f4e3d3a1d8b9b5a4aceb91105.tar.bz2
Issue #17805: Add AsyncResult alias for ApplyResult
Diffstat (limited to 'Lib/multiprocessing')
-rw-r--r--Lib/multiprocessing/pool.py2
1 files changed, 2 insertions, 0 deletions
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()`
#