Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion stdlib/3/email/charset.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

from typing import List, Optional, Iterator, Any

QP: int
BASE64: int
SHORTEST: int

class Charset:
input_charset = ... # type: str
header_encoding = ... # type: int
Expand All @@ -20,7 +24,7 @@ class Charset:
def __eq__(self, other: Any) -> bool: ...
def __ne__(self, other: Any) -> bool: ...

def add_charset(charset: Charset, header_enc: Optional[int] = ...,
def add_charset(charset: str, header_enc: Optional[int] = ...,
body_enc: Optional[int] = ...,
output_charset: Optional[str] = ...) -> None: ...
def add_alias(alias: str, canonical: str) -> None: ...
Expand Down