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,7 +1,8 @@
from _typeshed import OptExcInfo
from _typeshed.wsgi import ErrorStream, InputStream, StartResponse, WSGIApplication, WSGIEnvironment
from abc import abstractmethod
from typing import IO, Callable, MutableMapping
from collections.abc import Callable, MutableMapping
from typing import IO
from .headers import Headers
from .util import FileWrapper
+2 -1
View File
@@ -1,6 +1,7 @@
import sys
from _typeshed.wsgi import WSGIEnvironment
from typing import IO, Any, Callable
from collections.abc import Callable
from typing import IO, Any
__all__ = ["FileWrapper", "guess_scheme", "application_uri", "request_uri", "shift_path_info", "setup_testing_defaults"]
+2 -1
View File
@@ -1,5 +1,6 @@
from _typeshed.wsgi import ErrorStream, InputStream, WSGIApplication
from typing import Any, Callable, Iterable, Iterator, NoReturn
from collections.abc import Callable, Iterable, Iterator
from typing import Any, NoReturn
__all__ = ["validator"]