[Python-checkins] cpython (3.3): Issue #16538: correctly describe MAKE_CLOSURE in docs.
andrew.svetlov
python-checkins at python.org
Fri Nov 23 14:29:59 CET 2012
http://hg.python.org/cpython/rev/5d1e7912e23e
changeset: 80563:5d1e7912e23e
branch: 3.3
parent: 80559:7531dba22872
user: Andrew Svetlov <andrew.svetlov at gmail.com>
date: Fri Nov 23 15:28:34 2012 +0200
summary:
Issue #16538: correctly describe MAKE_CLOSURE in docs.
Patch by Daniel Urban
files:
Doc/library/dis.rst | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -763,9 +763,10 @@
.. 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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list