add asyncio.__all__ (#13038)

This commit is contained in:
Stephen Morton
2024-12-27 20:58:40 -08:00
committed by GitHub
parent abed9a8b55
commit 87267342d5
19 changed files with 1320 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ from typing_extensions import Self, TypeAlias
from . import events, protocols, transports
from .base_events import Server
# Keep asyncio.__all__ updated with any changes to __all__ here
if sys.platform == "win32":
__all__ = ("StreamReader", "StreamWriter", "StreamReaderProtocol", "open_connection", "start_server")
else: