mirror of https://github.com/python/cpython
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:
parent
ecc92db031
commit
60ee04969e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue