--- /dev/null
+def add_charset(charset, header_enc=..., body_enc=..., output_charset=...) -> None: ...\r
+def add_alias(alias, canonical) -> None: ...\r
+def add_codec(charset, codecname) -> None: ...\r
+\r
+class Charset:\r
+ input_charset = ...\r
+ header_encoding = ...\r
+ body_encoding = ...\r
+ output_charset = ...\r
+ input_codec = ...\r
+ output_codec = ...\r
+ def __init__(self, input_charset=...) -> None: ...\r
+ def __eq__(self, other): ...\r
+ def __ne__(self, other): ...\r
+ def get_body_encoding(self): ...\r
+ def convert(self, s): ...\r
+ def to_splittable(self, s): ...\r
+ def from_splittable(self, ustr, to_output: bool = ...): ...\r
+ def get_output_charset(self): ...\r
+ def encoded_header_len(self, s): ...\r
+ def header_encode(self, s, convert: bool = ...): ...\r
+ def body_encode(self, s, convert: bool = ...): ...\r