@@ -34,18 +34,22 @@ else:
3434 from .unix_events import *
3535
3636if sys .version_info >= (3 , 14 ):
37- from .events import _AbstractEventLoopPolicy as AbstractEventLoopPolicy # pyright: ignore[reportUnusedImport]
37+ from .events import _AbstractEventLoopPolicy
38+
39+ AbstractEventLoopPolicy = _AbstractEventLoopPolicy
3840
3941if sys .platform == "win32" :
4042 if sys .version_info >= (3 , 14 ):
41- from .windows_events import (
42- _DefaultEventLoopPolicy as DefaultEventLoopPolicy , # pyright: ignore[reportUnusedImport]
43- _WindowsProactorEventLoopPolicy as WindowsProactorEventLoopPolicy , # pyright: ignore[reportUnusedImport]
44- _WindowsSelectorEventLoopPolicy as WindowsSelectorEventLoopPolicy , # pyright: ignore[reportUnusedImport]
45- )
43+ from .windows_events import _DefaultEventLoopPolicy , _WindowsProactorEventLoopPolicy , _WindowsSelectorEventLoopPolicy
44+
45+ DefaultEventLoopPolicy = _DefaultEventLoopPolicy
46+ WindowsProactorEventLoopPolicy = _WindowsProactorEventLoopPolicy
47+ WindowsSelectorEventLoopPolicy = _WindowsSelectorEventLoopPolicy
4648else :
4749 if sys .version_info >= (3 , 14 ):
48- from .unix_events import _DefaultEventLoopPolicy as DefaultEventLoopPolicy # pyright: ignore[reportUnusedImport]
50+ from .unix_events import _DefaultEventLoopPolicy
51+
52+ DefaultEventLoopPolicy = _DefaultEventLoopPolicy
4953
5054if sys .platform == "win32" :
5155 if sys .version_info >= (3 , 14 ):
0 commit comments