From 3e29ef425e35a7f3f84b4f792cdb669f26a206d2 Mon Sep 17 00:00:00 2001 From: Mikhail Efimov Date: Mon, 4 Nov 2024 16:42:03 +0300 Subject: [PATCH] Typo fix in MAKE_FUNCTION opcode in dis library docs --- Doc/library/dis.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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