mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Remove a bunch of unused imports (#3323)
This commit is contained in:
committed by
Jelle Zijlstra
parent
a6f146e651
commit
256b3ce8ab
@@ -1,4 +1,4 @@
|
||||
from typing import Any, Callable, Generator, List, TypeVar
|
||||
from typing import Any, Callable, List, TypeVar
|
||||
|
||||
__all__: List[str]
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user