Fix various __all__ bugs and omissions (#7618)

This commit is contained in:
Alex Waygood
2022-04-14 16:03:19 +01:00
committed by GitHub
parent f87e811345
commit 40985b4f02
5 changed files with 204 additions and 40 deletions

View File

@@ -1,13 +1,9 @@
import socket
import ssl
import sys
from typing import Any, BinaryIO, NoReturn, Pattern, overload
from typing_extensions import Literal
if sys.version_info >= (3, 10):
__all__ = ["POP3", "error_proto", "POP3_SSL"]
else:
__all__ = ["POP3", "error_proto"]
__all__ = ["POP3", "error_proto", "POP3_SSL"]
_LongResp = tuple[bytes, list[bytes], int]