mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-23 19:41:51 +08:00
Stdlib: correct many parameter names (#9815)
This commit is contained in:
@@ -20,7 +20,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, __value: object) -> bool: ...
|
||||
|
||||
def add_charset(
|
||||
charset: str, header_enc: int | None = None, body_enc: int | None = None, output_charset: str | None = None
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user