Commit 0e8bd607 authored by Eli Bendersky's avatar Eli Bendersky

Issue #14349: Fix the doc of the MAKE_FUNCTION opcode in Doc/library/dis.rst to

correctly list the stack params it expects.
parent 20e5ef38
...@@ -754,9 +754,10 @@ the more significant byte last. ...@@ -754,9 +754,10 @@ the more significant byte last.
.. opcode:: MAKE_FUNCTION (argc) .. opcode:: MAKE_FUNCTION (argc)
Pushes a new function object on the stack. TOS is the code associated with the Pushes a new function object on the stack. TOS is the
function. The function object is defined to have *argc* default parameters, :term:`qualified name` of the function; TOS1 is the code associated with
which are found below TOS. the function. The function object is defined to have *argc* default parameters,
which are found below TOS1.
.. opcode:: MAKE_CLOSURE (argc) .. opcode:: MAKE_CLOSURE (argc)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment