mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Add all the email __all__s (#7304)
This commit is contained in:
@@ -3,6 +3,24 @@ import sys
|
||||
from email.charset import Charset
|
||||
from typing import Optional, Union, overload
|
||||
|
||||
__all__ = [
|
||||
"collapse_rfc2231_value",
|
||||
"decode_params",
|
||||
"decode_rfc2231",
|
||||
"encode_rfc2231",
|
||||
"formataddr",
|
||||
"formatdate",
|
||||
"format_datetime",
|
||||
"getaddresses",
|
||||
"make_msgid",
|
||||
"mktime_tz",
|
||||
"parseaddr",
|
||||
"parsedate",
|
||||
"parsedate_tz",
|
||||
"parsedate_to_datetime",
|
||||
"unquote",
|
||||
]
|
||||
|
||||
_ParamType = Union[str, tuple[Optional[str], Optional[str], str]]
|
||||
_PDTZ = tuple[int, int, int, int, int, int, int, int, int, Optional[int]]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user