From 38db46979ac1fc4010286007ece7414ce5303920 Mon Sep 17 00:00:00 2001 From: Steven Troxler Date: Fri, 7 Jan 2022 17:02:35 -0800 Subject: [PATCH] PEP 677: Use PEP 646 syntax when discussing unpack I'd intended to fix this based on feedback in an earlier PR, but missed it. --- pep-0677.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pep-0677.rst b/pep-0677.rst index b61fe32010a..b03fc20e084 100644 --- a/pep-0677.rst +++ b/pep-0677.rst @@ -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