mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Add all the email __all__s (#7304)
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user