massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 2 / email / charset.pyi
1 def add_charset(charset, header_enc=..., body_enc=..., output_charset=...) -> None: ...\r
2 def add_alias(alias, canonical) -> None: ...\r
3 def add_codec(charset, codecname) -> None: ...\r
4 \r
5 class Charset:\r
6     input_charset = ...\r
7     header_encoding = ...\r
8     body_encoding = ...\r
9     output_charset = ...\r
10     input_codec = ...\r
11     output_codec = ...\r
12     def __init__(self, input_charset=...) -> None: ...\r
13     def __eq__(self, other): ...\r
14     def __ne__(self, other): ...\r
15     def get_body_encoding(self): ...\r
16     def convert(self, s): ...\r
17     def to_splittable(self, s): ...\r
18     def from_splittable(self, ustr, to_output: bool = ...): ...\r
19     def get_output_charset(self): ...\r
20     def encoded_header_len(self, s): ...\r
21     def header_encode(self, s, convert: bool = ...): ...\r
22     def body_encode(self, s, convert: bool = ...): ...\r