From 9fb9a197b543be420fe87d4bec57ac3554135502 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sat, 19 Feb 2022 01:36:41 +0000 Subject: [PATCH] Add `asyncio.base_events.__all__` (#7264) --- stdlib/asyncio/base_events.pyi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stdlib/asyncio/base_events.pyi b/stdlib/asyncio/base_events.pyi index 4613581e2..02aff1ac2 100644 --- a/stdlib/asyncio/base_events.pyi +++ b/stdlib/asyncio/base_events.pyi @@ -14,6 +14,10 @@ from typing_extensions import Literal if sys.version_info >= (3, 7): from contextvars import Context + __all__ = ("BaseEventLoop",) +else: + __all__ = ["BaseEventLoop"] + _T = TypeVar("_T") _ProtocolT = TypeVar("_ProtocolT", bound=BaseProtocol) _Context = dict[str, Any]