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

View File

@@ -1,8 +1,7 @@
import sys
from _typeshed.wsgi import WSGIEnvironment
from typing import IO, Any, Callable
from .types import WSGIEnvironment
__all__ = ["FileWrapper", "guess_scheme", "application_uri", "request_uri", "shift_path_info", "setup_testing_defaults"]
class FileWrapper: