mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
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
1 changed files with 4 additions and 3 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue