Add Server to asyncio.base_events' __all__ (#7554)

Add Server to asyncio.base_events' __all__

Closes #7552
This commit is contained in:
Stefan Zabka
2022-03-25 21:32:28 +01:00
committed by GitHub
parent 0322fb0905
commit f40747f81d
3 changed files with 7 additions and 0 deletions

View File

@@ -14,6 +14,9 @@ from typing_extensions import Literal
if sys.version_info >= (3, 7):
from contextvars import Context
if sys.version_info >= (3, 9):
__all__ = ("BaseEventLoop", "Server")
elif sys.version_info >= (3, 7):
__all__ = ("BaseEventLoop",)
else:
__all__ = ["BaseEventLoop"]