From: Eli Bendersky Date: Sat, 24 Mar 2012 16:52:45 +0000 (+0200) Subject: Issue #14349: Fix the doc of the MAKE_FUNCTION opcode in Doc/library/dis.rst to X-Git-Tag: v3.3.0a2~69 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=60ee04969e13b414eec5038dd32f2f9cf373049c;p=python Issue #14349: Fix the doc of the MAKE_FUNCTION opcode in Doc/library/dis.rst to correctly list the stack params it expects. --- diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 5ba66cb904..6d08a0c5e2 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -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)