mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-22 08:20:21 +08:00
stdlib: add argument default values (#9501)
This commit is contained in:
@@ -38,7 +38,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: OptExcInfo | None = ...
|
||||
self, status: str, headers: list[tuple[str, str]], exc_info: OptExcInfo | None = None
|
||||
) -> Callable[[bytes], None]: ...
|
||||
def send_preamble(self) -> None: ...
|
||||
def write(self, data: bytes) -> None: ...
|
||||
@@ -73,8 +73,8 @@ class SimpleHandler(BaseHandler):
|
||||
stdout: IO[bytes],
|
||||
stderr: ErrorStream,
|
||||
environ: MutableMapping[str, str],
|
||||
multithread: bool = ...,
|
||||
multiprocess: bool = ...,
|
||||
multithread: bool = True,
|
||||
multiprocess: bool = False,
|
||||
) -> None: ...
|
||||
def get_stdin(self) -> InputStream: ...
|
||||
def get_stderr(self) -> ErrorStream: ...
|
||||
|
||||
Reference in New Issue
Block a user