mirror of https://github.com/scrapy/scrapy.git
Fix comment about typing.Self Python requirement
This commit is contained in:
parent
8e3d211ad7
commit
6cf308fbdd
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue