diff --git a/stdlib/concurrent/interpreters/__init__.pyi b/stdlib/concurrent/interpreters/__init__.pyi index 3839e6bef09b..171fadb2202b 100644 --- a/stdlib/concurrent/interpreters/__init__.pyi +++ b/stdlib/concurrent/interpreters/__init__.pyi @@ -5,7 +5,7 @@ from collections.abc import Callable from typing import Any, Literal, TypeVar from typing_extensions import ParamSpec, Self -if sys.version_info >= (3, 13): # needed to satisfy pyright checks for Python <3.13 +if sys.version_info >= (3, 14): # needed to satisfy pyright checks for Python <= 3.13 from _interpreters import ( InterpreterError as InterpreterError, InterpreterNotFoundError as InterpreterNotFoundError, diff --git a/stdlib/concurrent/interpreters/_crossinterp.pyi b/stdlib/concurrent/interpreters/_crossinterp.pyi index 7cf1ea34786e..50fe7cf0b4ba 100644 --- a/stdlib/concurrent/interpreters/_crossinterp.pyi +++ b/stdlib/concurrent/interpreters/_crossinterp.pyi @@ -3,7 +3,7 @@ from collections.abc import Callable from typing import Final, NewType from typing_extensions import Never, Self, TypeAlias -if sys.version_info >= (3, 13): # needed to satisfy pyright checks for Python <3.13 +if sys.version_info >= (3, 14): # needed to satisfy pyright checks for Python <= 3.13 from _interpqueues import _UnboundOp class ItemInterpreterDestroyed(Exception): ... diff --git a/stdlib/concurrent/interpreters/_queues.pyi b/stdlib/concurrent/interpreters/_queues.pyi index bdf08d93d1e0..b4a4fd56dd45 100644 --- a/stdlib/concurrent/interpreters/_queues.pyi +++ b/stdlib/concurrent/interpreters/_queues.pyi @@ -3,7 +3,7 @@ import sys from typing import Final, SupportsIndex from typing_extensions import Self -if sys.version_info >= (3, 13): # needed to satisfy pyright checks for Python <3.13 +if sys.version_info >= (3, 14): # needed to satisfy pyright checks for Python <= 3.13 from _interpqueues import QueueError as QueueError, QueueNotFoundError as QueueNotFoundError from . import _crossinterp