]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: Fix typo in documentation for ``MAKE_FUNCTION`` opcode (#126396)
authorMikhail Efimov <efimov.mikhail@gmail.com>
Mon, 4 Nov 2024 17:28:05 +0000 (20:28 +0300)
committerGitHub <noreply@github.com>
Mon, 4 Nov 2024 17:28:05 +0000 (19:28 +0200)
Doc/library/dis.rst

index cf203a714ba126bb23056aa3d8f59ac2421b1021..ecbe0fae8cd74cdc638a1067eb2e05ad76bf275d 100644 (file)
@@ -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