Skip to content

Commit

Permalink
pythongh-123550: Fix code snippet of BUILD_TUPLE in dis docs (pyt…
Browse files Browse the repository at this point in the history
  • Loading branch information
jlallas384 authored Sep 1, 2024
1 parent 0ff59d7 commit bac0e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/dis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1118,8 +1118,8 @@ iterations of the loop.
if count == 0:
value = ()
else:
STACK = STACK[:-count]
value = tuple(STACK[-count:])
STACK = STACK[:-count]

STACK.append(value)

Expand Down

0 comments on commit bac0e11

Please sign in to comment.