commit | 34cd3e9f6a87f9c50edac893b0d5ae46c4e48ee3 | [log] [tgz] |
---|---|---|
author | Xiang Zhang <angwerzx@126.com> | Wed Jul 29 00:51:33 2020 +0800 |
committer | GitHub <noreply@github.com> | Wed Jul 29 00:51:33 2020 +0800 |
tree | 5fe25c6b4f926816763e1e1904965c8082c30652 | |
parent | 37a06cbe5c17c2aa6ad938339fd42531a8a0bea0 [diff] [blame] |
Fix `List_Append` description, list is extracted at TOS1[-i] (GH-21465)
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 @@ .. 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)