Commit 4ce4f974 authored by Antoine Pitrou's avatar Antoine Pitrou

Issue #16554: fix description for MAKE_CLOSURE. Initial patch by Daniel Urban.

parent edbc28ce
...@@ -887,8 +887,8 @@ the more significant byte last. ...@@ -887,8 +887,8 @@ the more significant byte last.
Creates a new function object, sets its *__closure__* slot, and pushes it on 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 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 code associated with the function, and TOS2 is the tuple containing cells for
the closure's free variables. The function also has *argc* default the closure's free variables. *argc* is interpreted as in ``MAKE_FUNCTION``;
parameters, which are found below the cells. the annotations and defaults are also in the same order below TOS2.
.. opcode:: BUILD_SLICE (argc) .. opcode:: BUILD_SLICE (argc)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment