https://github.com/python/cpython/commit/d705582f7377935301c45a4d112daca2a39d2f1c
commit: d705582f7377935301c45a4d112daca2a39d2f1c
branch: 3.12
author: Miss Islington (bot) <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2024-01-22T16:03:22Z
summary:

[3.12] Docs: Fix typo in code snippet (GH-114421) (GH-114434)

(cherry picked from commit 6d30cbee013b4182937ffa11a7c87d2a7b6b7b41)

Co-authored-by: Kirill Podoprigora <[email protected]>

files:
M Doc/library/dis.rst

diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index ba7e13e2a19b8e..abcc3cde23526c 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
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to