Add wsgiref.types (Python 3.11+) (#7644)

_typeshed.wsgi: Import from wsgiref.types in Python 3.11+

Make types match wsgiref.types
This commit is contained in:
Sebastian Rittau
2022-04-16 21:36:31 +02:00
committed by GitHub
parent b0611bc031
commit 499e74cf2a
7 changed files with 67 additions and 32 deletions
+1 -1
View File
@@ -1,10 +1,10 @@
from _typeshed.wsgi import ErrorStream, InputStream, StartResponse, WSGIApplication, WSGIEnvironment
from abc import abstractmethod
from types import TracebackType
from typing import IO, Callable, MutableMapping
from typing_extensions import TypeAlias
from .headers import Headers
from .types import ErrorStream, InputStream, StartResponse, WSGIApplication, WSGIEnvironment
from .util import FileWrapper
__all__ = ["BaseHandler", "SimpleHandler", "BaseCGIHandler", "CGIHandler", "IISCGIHandler", "read_environ"]