Remove a bunch of unused imports (#3323)

This commit is contained in:
Sebastian Rittau
2019-10-08 16:59:32 +02:00
committed by Jelle Zijlstra
parent a6f146e651
commit 256b3ce8ab
47 changed files with 31 additions and 95 deletions

View File

@@ -1,4 +1,4 @@
from typing import Any, Callable, Generator, List, TypeVar
from typing import Any, Callable, List, TypeVar
__all__: List[str]

View File

@@ -1,5 +1,5 @@
import sys
from typing import Any, Union, Callable, TypeVar, Type, List, Generic, Iterable, Generator, Awaitable, Optional, Tuple
from typing import Any, Union, Callable, TypeVar, Type, List, Iterable, Generator, Awaitable, Optional, Tuple
from .events import AbstractEventLoop
from concurrent.futures import (
CancelledError as CancelledError,

View File

@@ -1,4 +1,4 @@
from typing import Any, Callable, Generator, Iterable, Iterator, List, Type, TypeVar, Union, Optional, Awaitable
from typing import Any, Callable, Generator, List, Type, TypeVar, Union, Optional, Awaitable
from .coroutines import coroutine
from .events import AbstractEventLoop

View File

@@ -1,7 +1,5 @@
import sys
from asyncio.events import AbstractEventLoop
from .coroutines import coroutine
from .futures import Future
from typing import Any, Generator, Generic, List, TypeVar, Optional
__all__: List[str]

View File

@@ -1,8 +1,8 @@
import concurrent.futures
import sys
from typing import (Any, TypeVar, Set, Dict, List, TextIO, Union, Tuple, Generic, Callable,
Coroutine, Generator, Iterable, Awaitable, overload, Sequence, Iterator,
Optional)
from typing import (
Any, TypeVar, Set, List, TextIO, Union, Tuple, Generic, Generator, Iterable, Awaitable, overload, Iterator, Optional,
)
from types import FrameType
from .events import AbstractEventLoop
from .futures import Future

View File

@@ -1,5 +1,5 @@
import sys
from typing import Dict, Any, TypeVar, Mapping, List, Optional, Tuple
from typing import Any, Mapping, List, Optional, Tuple
from asyncio.protocols import BaseProtocol
__all__: List[str]