From 0afa52d2166ae5fc77291364c5f249ebe04f1bd2 Mon Sep 17 00:00:00 2001 From: Xiang Zhang Date: Mon, 13 Jul 2020 23:49:43 +0800 Subject: [PATCH] Fix `List_Add` description, list is extracted at TOS1[-i] --- 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 f871ec4f13def8..d0307bd8e9f3d0 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)