pep 484: explicit reexport as intended (#4586)

See discussion on typing-sig.
This doesn't take care of some third_party libraries, will follow up on
those.

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu
2020-09-30 10:04:23 -07:00
committed by GitHub
co-authored by hauntsaninja <>
parent 27dfbf68aa
commit e3889c776e
13 changed files with 76 additions and 30 deletions
+3 -1
View File
@@ -1,7 +1,7 @@
import sys
import typing
from typing import (
AbstractSet as Set,
AbstractSet,
Any,
AsyncIterable as AsyncIterable,
AsyncIterator as AsyncIterator,
@@ -36,6 +36,8 @@ from typing import (
overload,
)
Set = AbstractSet
if sys.version_info >= (3, 6):
from typing import AsyncGenerator as AsyncGenerator, Collection as Collection