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:
Steven Troxler 2022-01-07 21:34:32 -08:00 committed by GitHub
parent 400d46e8c7
commit 557696d143
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -468,8 +468,8 @@ evaluate the AST form::
Name("bool")
)
and be treated by type checkers as equivalent to
``Callable[[int, Unpack[Ts]], bool]``.
and be treated by type checkers as equivalent to or ``Callable[[int,
*Ts], bool]`` or ``Callable[[int, Unpack[Ts]], bool]``.
Implications of the Grammar