mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Import ParamSpec from typing
This commit is contained in:
parent
71c0fcfbc5
commit
8cd599c50a
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user