Skip to content

Commit d705582

Browse files
[3.12] Docs: Fix typo in code snippet (GH-114421) (GH-114434)
(cherry picked from commit 6d30cbe) Co-authored-by: Kirill Podoprigora <[email protected]>
1 parent 954bbcc commit d705582

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

484484
Swap the top of the stack with the i-th element::
485485

486-
STACK[-i], STACK[-1] = stack[-1], STACK[-i]
486+
STACK[-i], STACK[-1] = STACK[-1], STACK[-i]
487487

488488
.. versionadded:: 3.11
489489

0 commit comments

Comments
 (0)