[Python-checkins] cpython: Issue #14349: Fix the doc of the MAKE_FUNCTION opcode in Doc/library/dis.rst to

eli.bendersky python-checkins at python.org
Sat Mar 24 17:53:22 CET 2012


http://hg.python.org/cpython/rev/242d3f8e8c50
changeset: 75915:242d3f8e8c50
user: Eli Bendersky <eliben at gmail.com>
date: Sat Mar 24 18:52:45 2012 +0200
summary:
 Issue #14349: Fix the doc of the MAKE_FUNCTION opcode in Doc/library/dis.rst to
correctly list the stack params it expects.
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
@@ -754,9 +754,10 @@
 
 .. 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)
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /