bpo-39481: PEP 585 for a variety of modules (GH-19423)

- concurrent.futures
- ctypes
- http.cookies
- multiprocessing
- queue
- tempfile
- unittest.case
- urllib.parse
This commit is contained in:
Batuhan Taşkaya 2020-04-10 17:46:36 +03:00 committed by GitHub
parent e3ec44d692
commit 0361556537
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 66 additions and 1 deletions

View file

@ -20,6 +20,7 @@ import queue
import threading
import time
import traceback
import types
import warnings
from queue import Empty
@ -780,6 +781,8 @@ class ApplyResult(object):
del self._cache[self._job]
self._pool = None
__class_getitem__ = classmethod(types.GenericAlias)
AsyncResult = ApplyResult # create alias -- see #17805
#