From 557696d1430d7506a0a576973fb70f10ab705f2e Mon Sep 17 00:00:00 2001 From: Steven Troxler Date: Fri, 7 Jan 2022 21:34:32 -0800 Subject: [PATCH] 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. --- 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