Add all the email __all__s (#7304)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-02-19 17:53:29 -08:00
1 parent e9db3bd50a
commit b74acc7546
21 files changed
+68 -1

No files matched your search

+2
View File
@@ -6,6 +6,8 @@ from email.policy import Policy
# using a type alias ("_HeaderType = Any") breaks mypy, who knows why
from typing import Any, Any as _HeaderType, Generator, Iterator, Optional, Sequence, TypeVar, Union
__all__ = ["Message", "EmailMessage"]
_T = TypeVar("_T")
_PayloadType = Union[list[Message], str, bytes]