]> granicus.if.org Git - python/commitdiff
Issue #16538: correctly describe MAKE_CLOSURE in docs.
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Fri, 23 Nov 2012 13:28:34 +0000 (15:28 +0200)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Fri, 23 Nov 2012 13:28:34 +0000 (15:28 +0200)
Patch by Daniel Urban

Doc/library/dis.rst

index 854c521b2b2c9a1a2163d6e36785018ca0670a9b..4339f559b4cfef252ece6661d39fde96f880adb5 100644 (file)
@@ -763,9 +763,10 @@ the more significant byte last.
 .. opcode:: MAKE_CLOSURE (argc)
 
    Creates a new function object, sets its *__closure__* slot, and pushes it on
-   the stack.  TOS is the code associated with the function, TOS1 the tuple
-   containing cells for the closure's free variables.  The function also has
-   *argc* default parameters, which are found below the cells.
+   the stack.  TOS is the :term:`qualified name` of the function, TOS1 is the
+   code associated with the function, and TOS2 is the tuple containing cells for
+   the closure's free variables.  The function also has *argc* default parameters,
+   which are found below the cells.
 
 
 .. opcode:: BUILD_SLICE (argc)