mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-04 09:02:46 +08:00
Import from collections.abc wherever possible (#7635)
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
import io
|
||||
import sys
|
||||
from _typeshed import Self, StrOrBytesPath, StrPath
|
||||
from collections.abc import Callable, Iterable, Iterator, Sequence
|
||||
from os import PathLike
|
||||
from types import TracebackType
|
||||
from typing import IO, Any, Callable, Iterable, Iterator, Protocol, Sequence, overload
|
||||
from typing import IO, Any, Protocol, overload
|
||||
from typing_extensions import Literal, TypeAlias
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
|
||||
Reference in New Issue
Block a user