From 8cd599c50ab6002a165773bf620cbad2f0dda98c Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Fri, 25 Oct 2024 22:42:09 +0100 Subject: [PATCH] Import ParamSpec from `typing` --- sphinx/util/display.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sphinx/util/display.py b/sphinx/util/display.py index eebbb1a51..95cb42bbf 100644 --- a/sphinx/util/display.py +++ b/sphinx/util/display.py @@ -9,9 +9,7 @@ from sphinx.util.console import bold, color_terminal if False: from collections.abc import Callable, Iterable, Iterator from types import TracebackType - from typing import Any, TypeVar - - from typing_extensions import ParamSpec + from typing import Any, ParamSpec, TypeVar T = TypeVar('T') P = ParamSpec('P')