mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
[3.12] Docs: Fix typo in code snippet (GH-114421) (GH-114434)
(cherry picked from commit 6d30cbee01
)
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
This commit is contained in:
parent
954bbcc1b9
commit
d705582f73
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue