mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue #17805: Add AsyncResult alias for ApplyResult
This commit is contained in:
parent
9bc7b793ea
commit
def51ca8ea
1 changed files with 2 additions and 0 deletions
|
@ -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()`
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue