Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit def51ca

Browse files
committed
Issue #17805: Add AsyncResult alias for ApplyResult
1 parent 9bc7b79 commit def51ca

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/multiprocessing/pool.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,8 @@ def _set(self, i, obj):
572572
self._event.set()
573573
del self._cache[self._job]
574574

575+
AsyncResult = ApplyResult # create alias -- see #17805
576+
575577
#
576578
# Class whose instances are returned by `Pool.map_async()`
577579
#

0 commit comments

Comments
 (0)