stdlib: add argument default values (#9501)

This commit is contained in:
Jelle Zijlstra
2023-01-18 09:37:34 +01:00
committed by GitHub
parent 6cb934291f
commit ddfaca3200
272 changed files with 2529 additions and 2467 deletions
+3 -3
View File
@@ -19,9 +19,9 @@ def header_length(bytearray: Iterable[int]) -> int: ...
def body_length(bytearray: Iterable[int]) -> int: ...
def unquote(s: str | bytes | bytearray) -> str: ...
def quote(c: str | bytes | bytearray) -> str: ...
def header_encode(header_bytes: bytes | bytearray, charset: str = ...) -> str: ...
def body_encode(body: str, maxlinelen: int = ..., eol: str = ...) -> str: ...
def decode(encoded: str, eol: str = ...) -> str: ...
def header_encode(header_bytes: bytes | bytearray, charset: str = "iso-8859-1") -> str: ...
def body_encode(body: str, maxlinelen: int = 76, eol: str = "\n") -> str: ...
def decode(encoded: str, eol: str = "\n") -> str: ...
def header_decode(s: str) -> str: ...
body_decode = decode