From: Mikhail Efimov Date: Mon, 4 Nov 2024 17:28:05 +0000 (+0300) Subject: Doc: Fix typo in documentation for ``MAKE_FUNCTION`` opcode (#126396) X-Git-Tag: v3.14.0a2~181 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5a4b402ae55f5eeeb44d3e7bc3f3ec39b249846;p=thirdparty%2FPython%2Fcpython.git Doc: Fix typo in documentation for ``MAKE_FUNCTION`` opcode (#126396) --- diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index cf203a714ba1..ecbe0fae8cd7 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