Skip to content

Commit b4a8d21

Browse files
authored
[concurrent.interpreters] Fix version guards (#15592)
1 parent 1004155 commit b4a8d21

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

stdlib/concurrent/interpreters/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ from collections.abc import Callable
55
from typing import Any, Literal, TypeVar
66
from typing_extensions import ParamSpec, Self
77

8-
if sys.version_info >= (3, 13): # needed to satisfy pyright checks for Python <3.13
8+
if sys.version_info >= (3, 14): # needed to satisfy pyright checks for Python <= 3.13
99
from _interpreters import (
1010
InterpreterError as InterpreterError,
1111
InterpreterNotFoundError as InterpreterNotFoundError,

stdlib/concurrent/interpreters/_crossinterp.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ from collections.abc import Callable
33
from typing import Final, NewType
44
from typing_extensions import Never, Self, TypeAlias
55

6-
if sys.version_info >= (3, 13): # needed to satisfy pyright checks for Python <3.13
6+
if sys.version_info >= (3, 14): # needed to satisfy pyright checks for Python <= 3.13
77
from _interpqueues import _UnboundOp
88

99
class ItemInterpreterDestroyed(Exception): ...

stdlib/concurrent/interpreters/_queues.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import sys
33
from typing import Final, SupportsIndex
44
from typing_extensions import Self
55

6-
if sys.version_info >= (3, 13): # needed to satisfy pyright checks for Python <3.13
6+
if sys.version_info >= (3, 14): # needed to satisfy pyright checks for Python <= 3.13
77
from _interpqueues import QueueError as QueueError, QueueNotFoundError as QueueNotFoundError
88

99
from . import _crossinterp

0 commit comments

Comments
 (0)