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,9 +1,8 @@
import sys
from types import TracebackType
from typing import Any, Awaitable, Callable, Generator, Iterable, Optional, Type, TypeVar, Union
from typing import Any, Awaitable, Callable, Generator, Optional, Type, TypeVar, Union
from .events import AbstractEventLoop
from .futures import Future
_T = TypeVar("_T")

View File

@@ -1,6 +1,6 @@
import sys
from asyncio import transports
from typing import Optional, Tuple, Union
from typing import Optional, Tuple
class BaseProtocol:
def connection_made(self, transport: transports.BaseTransport) -> None: ...