Stdlib: correct many parameter names (#9815)

This commit is contained in:
Alex Waygood
2023-03-04 09:53:12 +00:00
committed by GitHub
parent 4b755c7034
commit 257e287fec
30 changed files with 382 additions and 353 deletions

View File

@@ -17,7 +17,7 @@ class Header:
def append(self, s: bytes | bytearray | str, charset: Charset | str | None = None, errors: str = "strict") -> None: ...
def encode(self, splitchars: str = ";, \t", maxlinelen: int | None = None, linesep: str = "\n") -> str: ...
def __eq__(self, other: object) -> bool: ...
def __ne__(self, __other: object) -> bool: ...
def __ne__(self, __value: object) -> bool: ...
# decode_header() either returns list[tuple[str, None]] if the header
# contains no encoded parts, or list[tuple[bytes, str | None]] if the header