mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Third-party stubs: import from collections.abc where possible (#7637)
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import sys
|
||||
from _typeshed import Self
|
||||
from collections.abc import Callable, Iterable, Iterator
|
||||
from contextlib import AbstractContextManager
|
||||
from typing import Any, Callable, Iterable, Iterator
|
||||
from typing import Any
|
||||
|
||||
from ._common import (
|
||||
AIX as AIX,
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import enum
|
||||
from _typeshed import StrOrBytesPath, SupportsWrite
|
||||
from collections.abc import Callable
|
||||
from socket import AddressFamily, SocketKind
|
||||
from typing import Any, Callable, NamedTuple, TypeVar, overload
|
||||
from typing import Any, NamedTuple, TypeVar, overload
|
||||
from typing_extensions import Literal, TypeAlias
|
||||
|
||||
POSIX: bool
|
||||
|
||||
Reference in New Issue
Block a user