Stdlib: add container default values (#9909)

This commit is contained in:
Alex Waygood
2023-03-21 08:12:34 +00:00
committed by GitHub
parent 151159709d
commit dd2818a41d
66 changed files with 246 additions and 242 deletions

View File

@@ -158,7 +158,7 @@ class HTTPConnection:
method: str,
url: str,
body: _DataType | str | None = None,
headers: Mapping[str, str] = ...,
headers: Mapping[str, str] = {},
*,
encode_chunked: bool = False,
) -> None: ...

View File

@@ -99,7 +99,7 @@ class DefaultCookiePolicy(CookiePolicy):
strict_ns_domain: int = 0,
strict_ns_set_initial_dollar: bool = False,
strict_ns_set_path: bool = False,
secure_protocols: Sequence[str] = ...,
secure_protocols: Sequence[str] = ("https", "wss"),
) -> None: ...
else:
def __init__(