Fix positional-only differences in many stdlib modules (#7226)

This commit is contained in:
Alex Waygood
2022-02-15 14:14:06 +00:00
committed by GitHub
parent 32e9a0fbc1
commit f4967618dd
10 changed files with 23 additions and 23 deletions

View File

@@ -18,7 +18,7 @@ class Charset:
def header_encode_lines(self, string: str, maxlengths: Iterator[int]) -> list[str]: ...
def body_encode(self, string: str) -> str: ...
def __eq__(self, other: object) -> bool: ...
def __ne__(self, other: object) -> bool: ...
def __ne__(self, __other: object) -> bool: ...
def add_charset(
charset: str, header_enc: int | None = ..., body_enc: int | None = ..., output_charset: str | None = ...

View File

@@ -13,7 +13,7 @@ class Header:
def append(self, s: bytes | str, charset: Charset | str | None = ..., errors: str = ...) -> None: ...
def encode(self, splitchars: str = ..., maxlinelen: int | None = ..., linesep: str = ...) -> str: ...
def __eq__(self, other: object) -> bool: ...
def __ne__(self, other: object) -> bool: ...
def __ne__(self, __other: object) -> bool: ...
def decode_header(header: Header | str) -> list[tuple[bytes, str | None]]: ...
def make_header(