mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-23 19:41:51 +08:00
Add Server to asyncio.base_events' __all__ (#7554)
Add Server to asyncio.base_events' __all__ Closes #7552
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user