summaryrefslogtreecommitdiffstats
path: root/Doc/library/dis.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-01-22 16:03:22 (GMT)
committerGitHub <noreply@github.com>2024-01-22 16:03:22 (GMT)
commitd705582f7377935301c45a4d112daca2a39d2f1c (patch)
treea211859951c34288e6c8833fd2389d9ff78d88cf /Doc/library/dis.rst
parent954bbcc1b9daed3169719f6ca66302f164e362e1 (diff)
downloadcpython-d705582f7377935301c45a4d112daca2a39d2f1c.zip
cpython-d705582f7377935301c45a4d112daca2a39d2f1c.tar.gz
cpython-d705582f7377935301c45a4d112daca2a39d2f1c.tar.bz2
[3.12] Docs: Fix typo in code snippet (GH-114421) (GH-114434)
(cherry picked from commit 6d30cbee013b4182937ffa11a7c87d2a7b6b7b41) Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Diffstat (limited to 'Doc/library/dis.rst')
-rw-r--r--Doc/library/dis.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index ba7e13e..abcc3cd 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -483,7 +483,7 @@ operations on it as if it was a Python list. The top of the stack corresponds to
Swap the top of the stack with the i-th element::
- STACK[-i], STACK[-1] = stack[-1], STACK[-i]
+ STACK[-i], STACK[-1] = STACK[-1], STACK[-i]
.. versionadded:: 3.11