From 7dbd29174c2e59f7030a20e9e5f0db052266d4fa Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sat, 19 Feb 2022 02:26:31 +0000 Subject: [PATCH] Add `asyncio.proactor_events.__all__` (#7270) --- stdlib/asyncio/proactor_events.pyi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stdlib/asyncio/proactor_events.pyi b/stdlib/asyncio/proactor_events.pyi index 3171cf604..4ffb40160 100644 --- a/stdlib/asyncio/proactor_events.pyi +++ b/stdlib/asyncio/proactor_events.pyi @@ -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__(