summaryrefslogtreecommitdiffstats
path: root/Doc/library/dis.rst
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2012-03-24 16:52:45 (GMT)
committerEli Bendersky <eliben@gmail.com>2012-03-24 16:52:45 (GMT)
commit60ee04969e13b414eec5038dd32f2f9cf373049c (patch)
tree6be1e83369818e67413c895704054388cc4e8130 /Doc/library/dis.rst
parentecc92db031bd0df9ac294860e61a20dcfc226461 (diff)
downloadcpython-60ee04969e13b414eec5038dd32f2f9cf373049c.zip
cpython-60ee04969e13b414eec5038dd32f2f9cf373049c.tar.gz
cpython-60ee04969e13b414eec5038dd32f2f9cf373049c.tar.bz2
Issue #14349: Fix the doc of the MAKE_FUNCTION opcode in Doc/library/dis.rst to
correctly list the stack params it expects.
Diffstat (limited to 'Doc/library/dis.rst')
-rw-r--r--Doc/library/dis.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 5ba66cb..6d08a0c 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -754,9 +754,10 @@ the more significant byte last.
.. 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)