Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 34cd3e9

Browse files
authored
Fix List_Append description, list is extracted at TOS1[-i] (GH-21465)
1 parent 37a06cb commit 34cd3e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/dis.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ the original TOS1.
640640

641641
.. opcode:: LIST_APPEND (i)
642642

643-
Calls ``list.append(TOS[-i], TOS)``. Used to implement list comprehensions.
643+
Calls ``list.append(TOS1[-i], TOS)``. Used to implement list comprehensions.
644644

645645

646646
.. opcode:: MAP_ADD (i)

0 commit comments

Comments
 (0)