https://github.com/python/cpython/commit/6d30cbee013b4182937ffa11a7c87d2a7b6b7b41
commit: 6d30cbee013b4182937ffa11a7c87d2a7b6b7b41
branch: main
author: Kirill Podoprigora <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2024-01-22T17:56:30+02:00
summary:

Docs: Fix typo in code snippet (GH-114421)

files:
M Doc/library/dis.rst

diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 7492ae85c4ea46..b97d48fafab3b6 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -576,7 +576,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