From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 22 Jan 2024 16:03:22 +0000 (+0100) Subject: [3.12] Docs: Fix typo in code snippet (GH-114421) (GH-114434) X-Git-Tag: v3.12.2~117 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d705582f7377935301c45a4d112daca2a39d2f1c;p=thirdparty%2FPython%2Fcpython.git [3.12] Docs: Fix typo in code snippet (GH-114421) (GH-114434) (cherry picked from commit 6d30cbee013b4182937ffa11a7c87d2a7b6b7b41) Co-authored-by: Kirill Podoprigora --- diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index ba7e13e2a19b..abcc3cde2352 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