]> granicus.if.org Git - python/commitdiff
Issue #14349: Fix the doc of the MAKE_FUNCTION opcode in Doc/library/dis.rst to
authorEli Bendersky <eliben@gmail.com>
Sat, 24 Mar 2012 16:52:45 +0000 (18:52 +0200)
committerEli Bendersky <eliben@gmail.com>
Sat, 24 Mar 2012 16:52:45 +0000 (18:52 +0200)
correctly list the stack params it expects.

Doc/library/dis.rst

index 5ba66cb90498f801cee438119ea4feab6c6425b4..6d08a0c5e28358131297be4955d26315d6ad5003 100644 (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)