From 520242830cf09c454bf2a90a0034901f3141e8d4 Mon Sep 17 00:00:00 2001 From: Xiang Zhang Date: Wed, 29 Jul 2020 00:51:33 +0800 Subject: [PATCH] Fix `List_Append` description, list is extracted at TOS1[-i] (GH-21465) (cherry picked from commit 34cd3e9f6a87f9c50edac893b0d5ae46c4e48ee3) Co-authored-by: Xiang Zhang --- 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 5b34e68cb027c0..015be2029502a5 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)