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
@@ -3,6 +3,8 @@ from email.message import Message
from email.policy import Policy
from typing import BinaryIO, Callable, TextIO, TypeVar
__all__ = ["Parser", "HeaderParser", "BytesParser", "BytesHeaderParser", "FeedParser", "BytesFeedParser"]
_M = TypeVar("_M", bound=Message)
FeedParser = email.feedparser.FeedParser[_M]