summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorXiang Zhang <angwerzx@126.com>2020-07-28 16:51:33 (GMT)
committerGitHub <noreply@github.com>2020-07-28 16:51:33 (GMT)
commit34cd3e9f6a87f9c50edac893b0d5ae46c4e48ee3 (patch)
tree5fe25c6b4f926816763e1e1904965c8082c30652 /Doc
parent37a06cbe5c17c2aa6ad938339fd42531a8a0bea0 (diff)
downloadcpython-34cd3e9f6a87f9c50edac893b0d5ae46c4e48ee3.zip
cpython-34cd3e9f6a87f9c50edac893b0d5ae46c4e48ee3.tar.gz
cpython-34cd3e9f6a87f9c50edac893b0d5ae46c4e48ee3.tar.bz2
Fix `List_Append` description, list is extracted at TOS1[-i] (GH-21465)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/dis.rst2
1 files changed, 1 insertions, 1 deletions
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)