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: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60ee04969e13b414eec5038dd32f2f9cf373049c;p=thirdparty%2FPython%2Fcpython.git 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 5ba66cb90498..6d08a0c5e283 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)