mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-15 14:31:59 +08:00
Import from collections.abc wherever possible (#7635)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"]
|
||||
|
||||
|
||||
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user