Skip to content

Commit bac0e11

Browse files
authored
gh-123550: Fix code snippet of BUILD_TUPLE in dis docs (#123551)
1 parent 0ff59d7 commit bac0e11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/dis.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,8 +1118,8 @@ iterations of the loop.
11181118
if count == 0:
11191119
value = ()
11201120
else:
1121-
STACK = STACK[:-count]
11221121
value = tuple(STACK[-count:])
1122+
STACK = STACK[:-count]
11231123

11241124
STACK.append(value)
11251125

0 commit comments

Comments
 (0)