Skip to content

Commit e5a4b40

Browse files
Doc: Fix typo in documentation for MAKE_FUNCTION opcode (#126396)
1 parent eac41c5 commit e5a4b40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/dis.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1562,7 +1562,7 @@ iterations of the loop.
15621562

15631563
.. opcode:: MAKE_FUNCTION
15641564

1565-
Pushes a new function object on the stack built from the code object at ``STACK[1]``.
1565+
Pushes a new function object on the stack built from the code object at ``STACK[-1]``.
15661566

15671567
.. versionchanged:: 3.10
15681568
Flag value ``0x04`` is a tuple of strings instead of dictionary

0 commit comments

Comments
 (0)