Fix errors when type checking stdlib with Python 3.14 (#13977)

This commit is contained in:
Sebastian Rittau
2025-05-09 21:04:35 +02:00
committed by GitHub
parent 168af67fb8
commit 2d46095e3f
4 changed files with 27 additions and 18 deletions
+3 -1
View File
@@ -21,7 +21,9 @@ from .futures import Future
from .protocols import BaseProtocol
from .tasks import Task
from .transports import BaseTransport, DatagramTransport, ReadTransport, SubprocessTransport, Transport, WriteTransport
from .unix_events import AbstractChildWatcher
if sys.version_info < (3, 14):
from .unix_events import AbstractChildWatcher
# Keep asyncio.__all__ updated with any changes to __all__ here
if sys.version_info >= (3, 14):