8000 [3.12] gh-123550: Fix code snippet of `BUILD_TUPLE` in `dis` docs (GH… · python/cpython@e3d8ccc · GitHub
[go: up one dir, main page]

Skip to content

Commit e3d8ccc

Browse files
[3.12] gh-123550: Fix code snippet of BUILD_TUPLE in dis docs (GH-123551) (#123556)
1 parent c41c787 commit e3d8ccc

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
@@ -1000,8 +1000,8 @@ iterations of the loop.
10001000
if count == 0:
10011001
value = ()
10021002
else:
1003-
STACK = STACK[:-count]
10041003
value = tuple(STACK[-count:])
1004+
STACK = STACK[:-count]
10051005

10061006
STACK.append(value)
10071007

0 commit comments

Comments
 (0)
0