]> granicus.if.org Git - python/commitdiff
Issue #16554: fix description for MAKE_CLOSURE. Initial patch by Daniel Urban.
authorAntoine Pitrou <solipsis@pitrou.net>
Thu, 13 Aug 2015 18:37:08 +0000 (20:37 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Thu, 13 Aug 2015 18:37:08 +0000 (20:37 +0200)
Doc/library/dis.rst

index b816dcc4d32c23e6c5ac6d2d01b5c8d108afed58..273fb20634e3b641a20f16c3c3c784eedd7fa6f7 100644 (file)
@@ -887,8 +887,8 @@ the more significant byte last.
    Creates a new function object, sets its *__closure__* slot, and pushes it on
    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.
+   the closure's free variables.  *argc* is interpreted as in ``MAKE_FUNCTION``;
+   the annotations and defaults are also in the same order below TOS2.
 
 
 .. opcode:: BUILD_SLICE (argc)