Skip to content

Commit 9e72a3f

Browse files
[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 e5a4b40) Co-authored-by: Mikhail Efimov <[email protected]>
1 parent cddecf2 commit 9e72a3f

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
@@ -1550,7 +1550,7 @@ iterations of the loop.
15501550

15511551
.. opcode:: MAKE_FUNCTION
15521552

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

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

0 commit comments

Comments
 (0)