Import from collections.abc wherever possible (#7635)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-04-18 12:50:37 +02:00
1 parent a17b3afb16
commit 97a74bc1aa
230 files changed
+449 -348

No files matched your search

+2 -1
View File
@@ -1,10 +1,11 @@
import ssl
import sys
from _typeshed import StrOrBytesPath, SupportsRead
from collections.abc import Callable, Iterable, Mapping, MutableMapping, Sequence
from email.message import Message
from http.client import HTTPMessage, HTTPResponse, _HTTPConnectionProtocol
from http.cookiejar import CookieJar
from typing import IO, Any, Callable, ClassVar, Iterable, Mapping, MutableMapping, NoReturn, Pattern, Sequence, TypeVar, overload
from typing import IO, Any, ClassVar, NoReturn, Pattern, TypeVar, overload
from typing_extensions import TypeAlias
from urllib.error import HTTPError
from urllib.response import addclosehook, addinfourl