Add __all__ for modules beginning with 'h' and 'i' (#7327)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-02-20 14:01:45 -08:00
1 parent 2279c87257
commit 8f2f857ffc
15 files changed
+150

No files matched your search

+2
View File
@@ -8,6 +8,8 @@ from types import TracebackType
from typing import IO, Any, Callable, Pattern, Union
from typing_extensions import Literal
__all__ = ["IMAP4", "IMAP4_stream", "Internaldate2tuple", "Int2AP", "ParseFlags", "Time2Internaldate", "IMAP4_SSL"]
# TODO: Commands should use their actual return types, not this type alias.
# E.g. Tuple[Literal["OK"], List[bytes]]
_CommandResults = tuple[str, list[Any]]