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

correctly list the stack params it expects.
This commit is contained in:
Eli Bendersky 2012-03-24 18:52:45 +02:00
parent ecc92db031
commit 60ee04969e
1 changed files with 4 additions and 3 deletions

View File

@ -754,9 +754,10 @@ the more significant byte last.
.. opcode:: MAKE_FUNCTION (argc)
Pushes a new function object on the stack. TOS is the code associated with the
function. The function object is defined to have *argc* default parameters,
which are found below TOS.
Pushes a new function object on the stack. TOS is the
:term:`qualified name` of the function; TOS1 is the code associated with
the function. The function object is defined to have *argc* default parameters,
which are found below TOS1.
.. opcode:: MAKE_CLOSURE (argc)