Third-party stubs: import from collections.abc where possible (#7637)

This commit is contained in:
Alex Waygood
2022-04-16 14:52:57 +01:00
committed by GitHub
parent ee09d9eb19
commit 653f2c6ba4
146 changed files with 268 additions and 156 deletions

View File

@@ -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

View File

@@ -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