https://github.com/python/cpython/commit/e5a4b402ae55f5eeeb44d3e7bc3f3ec39b249846
commit: e5a4b402ae55f5eeeb44d3e7bc3f3ec39b249846
branch: main
author: Mikhail Efimov <[email protected]>
committer: Eclips4 <[email protected]>
date: 2024-11-04T19:28:05+02:00
summary:
Doc: Fix typo in documentation for ``MAKE_FUNCTION`` opcode (#126396)
files:
M Doc/library/dis.rst
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index cf203a714ba126..ecbe0fae8cd74c 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
_______________________________________________
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]