Skip to content

Commit 47b3f0d

Browse files
committed
Fix missing names for asyncio in 3.14
1 parent 9f8f621 commit 47b3f0d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

stdlib/asyncio/__init__.pyi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ if sys.platform == "win32":
4141
"Server", # from base_events
4242
"iscoroutinefunction", # from coroutines
4343
"iscoroutine", # from coroutines
44+
"AbstractEventLoopPolicy", # from events via __getattr__ # pyright: ignore[reportUnsupportedDunderAll]
4445
"AbstractEventLoop", # from events
4546
"AbstractServer", # from events
4647
"Handle", # from events
@@ -131,8 +132,11 @@ if sys.platform == "win32":
131132
"SelectorEventLoop", # from windows_events
132133
"ProactorEventLoop", # from windows_events
133134
"IocpProactor", # from windows_events
135+
"DefaultEventLoopPolicy", # from windows_events via __getattr__ # pyright: ignore[reportUnsupportedDunderAll]
134136
"_DefaultEventLoopPolicy", # from windows_events
137+
"WindowsSelectorEventLoopPolicy", # from windows_events via __getattr__ # pyright: ignore[reportUnsupportedDunderAll]
135138
"_WindowsSelectorEventLoopPolicy", # from windows_events
139+
"WindowsProactorEventLoopPolicy", # from windows_events via __getattr__ # pyright: ignore[reportUnsupportedDunderAll]
136140
"_WindowsProactorEventLoopPolicy", # from windows_events
137141
"EventLoop", # from windows_events
138142
)
@@ -514,6 +518,7 @@ else:
514518
"Server", # from base_events
515519
"iscoroutinefunction", # from coroutines
516520
"iscoroutine", # from coroutines
521+
"AbstractEventLoopPolicy", # from events via __getattr__ # pyright: ignore[reportUnsupportedDunderAll]
517522
"AbstractEventLoop", # from events
518523
"AbstractServer", # from events
519524
"Handle", # from events

0 commit comments

Comments
 (0)