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

index 00c904a8a731ad4b3fc2f07293307176903fa357..4d1860029c172b29cb0eaee7f7e8dc5617e42295 100644 (file)
@@ -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()`
 #