mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 20:01:29 +08:00
Third-party stubs: import from collections.abc where possible (#7637)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from _typeshed import Self
|
||||
from collections.abc import Mapping
|
||||
from socket import socket as _socket
|
||||
from typing import Any, AnyStr, Generic, Mapping, TypeVar, overload
|
||||
from typing import Any, AnyStr, Generic, TypeVar, overload
|
||||
|
||||
from .charset import charset_by_id as charset_by_id, charset_by_name as charset_by_name
|
||||
from .constants import CLIENT as CLIENT, COMMAND as COMMAND, FIELD_TYPE as FIELD_TYPE, SERVER_STATUS as SERVER_STATUS
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
from _typeshed import Self
|
||||
from typing import Any, Iterable, Iterator, Text
|
||||
from collections.abc import Iterable, Iterator
|
||||
from typing import Any, Text
|
||||
|
||||
from .connections import Connection
|
||||
|
||||
|
||||
Reference in New Issue
Block a user