From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 28 Jul 2020 16:59:18 +0000 (-0700) Subject: Fix `List_Append` description, list is extracted at TOS1[-i] (GH-21465) X-Git-Tag: v3.8.6rc1~66 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5e0ce46aeb13f31e4dbe6a2891f583e770e0a808;p=thirdparty%2FPython%2Fcpython.git Fix `List_Append` description, list is extracted at TOS1[-i] (GH-21465) (cherry picked from commit 34cd3e9f6a87f9c50edac893b0d5ae46c4e48ee3) Co-authored-by: Xiang Zhang --- diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 5b34e68cb027..015be2029502 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)