Fix comment about typing.Self Python requirement

This commit is contained in:
Adrián Chaves 2025-03-31 09:29:59 +02:00
parent 8e3d211ad7
commit 6cf308fbdd
1 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,8 @@ if TYPE_CHECKING:
from collections.abc import Callable, Iterator
from re import Pattern
# typing.Concatenate, typing.ParamSpec and typing.Self require Python 3.10
# typing.Concatenate and typing.ParamSpec require Python 3.10
# typing.Self requires Python 3.11
from typing_extensions import Concatenate, ParamSpec, Self
_P = ParamSpec("_P")