diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-07-28 16:58:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-28 16:58:30 (GMT) |
commit | 67020a3e133e07e1934274a1fad45b5ce9481e64 (patch) | |
tree | 2475dc67c5d048db1f5cece3a6f810d2a668ac72 /Doc | |
parent | 95cc37f6b8e895a5042e2a10e5d9026429e06342 (diff) | |
download | cpython-67020a3e133e07e1934274a1fad45b5ce9481e64.zip cpython-67020a3e133e07e1934274a1fad45b5ce9481e64.tar.gz cpython-67020a3e133e07e1934274a1fad45b5ce9481e64.tar.bz2 |
Fix `List_Append` description, list is extracted at TOS1[-i] (GH-21465)
(cherry picked from commit 34cd3e9f6a87f9c50edac893b0d5ae46c4e48ee3)
Co-authored-by: Xiang Zhang <angwerzx@126.com>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/dis.rst | 2 |
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) |