Skip to content

Commit 6d30cbe

Browse files
authored
Docs: Fix typo in code snippet (GH-114421)
1 parent 2ef520e commit 6d30cbe

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
@@ -576,7 +576,7 @@ operations on it as if it was a Python list. The top of the stack corresponds to
576576

577577
Swap the top of the stack with the i-th element::
578578

579-
STACK[-i], STACK[-1] = stack[-1], STACK[-i]
579+
STACK[-i], STACK[-1] = STACK[-1], STACK[-i]
580580

581581
.. versionadded:: 3.11
582582

0 commit comments

Comments
 (0)