From 34cd3e9f6a87f9c50edac893b0d5ae46c4e48ee3 Mon Sep 17 00:00:00 2001 From: Xiang Zhang Date: Wed, 29 Jul 2020 00:51:33 +0800 Subject: Fix `List_Append` description, list is extracted at TOS1[-i] (GH-21465) --- 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 f871ec4..d0307bd 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -640,7 +640,7 @@ the original TOS1. .. opcode:: LIST_APPEND (i) - Calls ``list.append(TOS[-i], TOS)``. Used to implement list comprehensions. + Calls ``list.append(TOS1[-i], TOS)``. Used to implement list comprehensions. .. opcode:: MAP_ADD (i) -- cgit v0.12