From 2ef1d7f38e612fb82023fd22360e52fb58f3f7bb Mon Sep 17 00:00:00 2001 From: Dong-hee Na Date: Sun, 30 Jul 2023 00:15:28 +0900 Subject: [PATCH] gh-107427: Update the description of UNPACK_SEQUENCE --- Doc/library/dis.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index accc652a90649d..4c4c61202c3d98 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -924,7 +924,7 @@ iterations of the loop. Unpacks ``STACK[-1]`` into *count* individual values, which are put onto the stack right-to-left:: - STACK.extend(STACK.pop()[:count:-1]) + STACK.extend(STACK.pop()[:-count-1:-1]) .. opcode:: UNPACK_EX (counts)