pep 484: last reexports (#4609)

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu
2020-10-04 14:51:04 -07:00
committed by GitHub
parent 723a23abfc
commit e428f2d479
2 changed files with 12 additions and 12 deletions

View File

@@ -6,9 +6,9 @@ if sys.version_info >= (3, 5):
from typing import AsyncContextManager, AsyncIterator
if sys.version_info >= (3, 6):
from typing import ContextManager as AbstractContextManager
AbstractContextManager = ContextManager
if sys.version_info >= (3, 7):
from typing import AsyncContextManager as AbstractAsyncContextManager
AbstractAsyncContextManager = AsyncContextManager
_T = TypeVar("_T")
_T_io = TypeVar("_T_io", bound=Optional[IO[str]])