Skip to content

Commit ff96f9e

Browse files
committed
chore: remove redundant Python version checks
Now that Python 3.9 support has been dropped, inline code that was gated behind sys.version_info checks for 3.9 and 3.10.
1 parent 1e202fe commit ff96f9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tenacity/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,14 @@
8989
if t.TYPE_CHECKING:
9090
import types
9191

92-
from typing_extensions import ParamSpec, Self
92+
from typing_extensions import Self
9393

9494
from . import asyncio as tasyncio
9595
from .retry import RetryBaseT
9696
from .stop import StopBaseT
9797
from .wait import WaitBaseT
9898

99-
P = ParamSpec("P")
99+
P = t.ParamSpec("P")
100100
R = t.TypeVar("R")
101101

102102

0 commit comments

Comments
 (0)