mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-30 08:04:24 +08:00
Use lowercase tuple where possible (#6170)
This commit is contained in:
@@ -12,7 +12,7 @@ def format_date_time(timestamp: float | None) -> str: ... # undocumented
|
||||
def read_environ() -> dict[str, str]: ...
|
||||
|
||||
class BaseHandler:
|
||||
wsgi_version: Tuple[int, int] # undocumented
|
||||
wsgi_version: tuple[int, int] # undocumented
|
||||
wsgi_multithread: bool
|
||||
wsgi_multiprocess: bool
|
||||
wsgi_run_once: bool
|
||||
@@ -28,7 +28,7 @@ class BaseHandler:
|
||||
|
||||
traceback_limit: int | None
|
||||
error_status: str
|
||||
error_headers: list[Tuple[str, str]]
|
||||
error_headers: list[tuple[str, str]]
|
||||
error_body: bytes
|
||||
def run(self, application: WSGIApplication) -> None: ...
|
||||
def setup_environ(self) -> None: ...
|
||||
@@ -37,7 +37,7 @@ class BaseHandler:
|
||||
def set_content_length(self) -> None: ...
|
||||
def cleanup_headers(self) -> None: ...
|
||||
def start_response(
|
||||
self, status: str, headers: list[Tuple[str, str]], exc_info: _exc_info | None = ...
|
||||
self, status: str, headers: list[tuple[str, str]], exc_info: _exc_info | None = ...
|
||||
) -> Callable[[bytes], None]: ...
|
||||
def send_preamble(self) -> None: ...
|
||||
def write(self, data: bytes) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user