]> granicus.if.org Git - python/commitdiff
Issue #17805: Add AsyncResult alias for ApplyResult
authorRichard Oudkerk <shibturn@gmail.com>
Mon, 6 May 2013 11:10:04 +0000 (12:10 +0100)
committerRichard Oudkerk <shibturn@gmail.com>
Mon, 6 May 2013 11:10:04 +0000 (12:10 +0100)
Lib/multiprocessing/pool.py

index 7f73b441c2e249a7d148ff024975fe4c43bd1d42..fc9d90402b31965d5b30f93efd1724503fe39d4c 100644 (file)
@@ -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()`
 #