Add asyncio.proactor_events.__all__ (#7270)

This commit is contained in:
Alex Waygood
2022-02-19 02:26:31 +00:00
committed by GitHub
parent 29ac4cccc5
commit 7dbd29174c

View File

@@ -5,6 +5,11 @@ from typing_extensions import Literal
from . import base_events, constants, events, futures, streams, transports
if sys.version_info >= (3, 7):
__all__ = ("BaseProactorEventLoop",)
else:
__all__ = ["BaseProactorEventLoop"]
if sys.version_info >= (3, 8):
class _WarnCallbackProtocol(Protocol):
def __call__(