Removed imported symbols that are not accessed or re-exported (#4387)

Co-authored-by: Eric Traut <erictr@microsoft.com>
This commit is contained in:
Eric Traut
2020-08-05 22:49:17 -07:00
committed by GitHub
parent e17c6a752e
commit 04c74640f0
53 changed files with 52 additions and 97 deletions

View File

@@ -1,4 +1,3 @@
# These are not exported.
import sys
import typing
from typing import (
@@ -37,9 +36,6 @@ from typing import (
overload,
)
# These are exported.
from . import abc
if sys.version_info >= (3, 6):
from typing import AsyncGenerator as AsyncGenerator, Collection as Collection