Add asyncio.selector_events.__all__ (#7288)

This commit is contained in:
Alex Waygood
2022-02-19 20:22:08 +00:00
committed by GitHub
parent f250c3f18d
commit 3c5c890761

View File

@@ -1,6 +1,12 @@
import selectors
import sys
from . import base_events
if sys.version_info >= (3, 7):
__all__ = ("BaseSelectorEventLoop",)
else:
__all__ = ["BaseSelectorEventLoop"]
class BaseSelectorEventLoop(base_events.BaseEventLoop):
def __init__(self, selector: selectors.BaseSelector | None = ...) -> None: ...