From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 4 Nov 2024 17:35:12 +0000 (+0100) Subject: [3.13] Doc: Fix typo in documentation for ``MAKE_FUNCTION`` opcode (GH-126396) ... X-Git-Tag: v3.13.1~169 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9e72a3f2e1bb2b8733d92fd75c8de6e16fb9ffe4;p=thirdparty%2FPython%2Fcpython.git [3.13] Doc: Fix typo in documentation for ``MAKE_FUNCTION`` opcode (GH-126396) (#126406) Doc: Fix typo in documentation for ``MAKE_FUNCTION`` opcode (GH-126396) (cherry picked from commit e5a4b402ae55f5eeeb44d3e7bc3f3ec39b249846) Co-authored-by: Mikhail Efimov --- diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index e7b7b81497cb..c37059cb090d 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -1550,7 +1550,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