mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-18 09:55:59 +08:00
Import from collections.abc wherever possible (#7635)
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
import sys
|
||||
from _typeshed import OptExcInfo, structseq
|
||||
from builtins import object as _object
|
||||
from collections.abc import AsyncGenerator, Callable, Coroutine, Sequence
|
||||
from importlib.abc import PathEntryFinder
|
||||
from importlib.machinery import ModuleSpec
|
||||
from io import TextIOWrapper
|
||||
from types import FrameType, ModuleType, TracebackType
|
||||
from typing import Any, AsyncGenerator, Callable, Coroutine, NoReturn, Protocol, Sequence, TextIO, TypeVar, overload
|
||||
from typing import Any, NoReturn, Protocol, TextIO, TypeVar, overload
|
||||
from typing_extensions import Literal, TypeAlias, final
|
||||
|
||||
_T = TypeVar("_T")
|
||||
|
||||
Reference in New Issue
Block a user