Import ParamSpec from typing

This commit is contained in:
Adam Turner 2024-10-25 22:42:09 +01:00
parent 71c0fcfbc5
commit 8cd599c50a

View File

@ -9,9 +9,7 @@ from sphinx.util.console import bold, color_terminal
if False: if False:
from collections.abc import Callable, Iterable, Iterator from collections.abc import Callable, Iterable, Iterator
from types import TracebackType from types import TracebackType
from typing import Any, TypeVar from typing import Any, ParamSpec, TypeVar
from typing_extensions import ParamSpec
T = TypeVar('T') T = TypeVar('T')
P = ParamSpec('P') P = ParamSpec('P')