PEP 677: Use PEP 646 syntax when discussing unpack (#2216)
I'd intended to fix this based on feedback in an earlier PR, but missed it.
This commit is contained in:
parent
400d46e8c7
commit
557696d143
|
@ -468,8 +468,8 @@ evaluate the AST form::
|
||||||
Name("bool")
|
Name("bool")
|
||||||
)
|
)
|
||||||
|
|
||||||
and be treated by type checkers as equivalent to
|
and be treated by type checkers as equivalent to or ``Callable[[int,
|
||||||
``Callable[[int, Unpack[Ts]], bool]``.
|
*Ts], bool]`` or ``Callable[[int, Unpack[Ts]], bool]``.
|
||||||
|
|
||||||
|
|
||||||
Implications of the Grammar
|
Implications of the Grammar
|
||||||
|
|
Loading…
Reference in New Issue