summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMikhail Efimov <efimov.mikhail@gmail.com>2024-11-04 17:28:05 (GMT)
committerGitHub <noreply@github.com>2024-11-04 17:28:05 (GMT)
commite5a4b402ae55f5eeeb44d3e7bc3f3ec39b249846 (patch)
tree048e46fc8531bca71287a8efa978519846f80eae /Doc/library
parenteac41c5ddfadf52fbd84ee898ad56aedd5d90a41 (diff)
downloadcpython-e5a4b402ae55f5eeeb44d3e7bc3f3ec39b249846.zip
cpython-e5a4b402ae55f5eeeb44d3e7bc3f3ec39b249846.tar.gz
cpython-e5a4b402ae55f5eeeb44d3e7bc3f3ec39b249846.tar.bz2
Doc: Fix typo in documentation for ``MAKE_FUNCTION`` opcode (#126396)
Diffstat (limited to 'Doc/library')
-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 cf203a7..ecbe0fa 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -1562,7 +1562,7 @@ iterations of the loop.
.. opcode:: MAKE_FUNCTION
- Pushes a new function object on the stack built from the code object at ``STACK[1]``.
+ Pushes a new function object on the stack built from the code object at ``STACK[-1]``.
.. versionchanged:: 3.10
Flag value ``0x04`` is a tuple of strings instead of dictionary