mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
gh-123550: Fix code snippet of BUILD_TUPLE in dis docs (#123551)
This commit is contained in:
parent
0ff59d707c
commit
bac0e115b8
1 changed files with 1 additions and 1 deletions
|
|
@ -1118,8 +1118,8 @@ iterations of the loop.
|
||||||
if count == 0:
|
if count == 0:
|
||||||
value = ()
|
value = ()
|
||||||
else:
|
else:
|
||||||
STACK = STACK[:-count]
|
|
||||||
value = tuple(STACK[-count:])
|
value = tuple(STACK[-count:])
|
||||||
|
STACK = STACK[:-count]
|
||||||
|
|
||||||
STACK.append(value)
|
STACK.append(value)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue