summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-10-17 20:01:01 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-10-17 20:01:01 (GMT)
commitc2f144079fd272b589c1d7d8a0830943dd582f80 (patch)
tree2f6866ed9bfe66c3015bd925a8ddd1b1adf4b06c
parent0f3e7697dcc6d091bb0792015dfe501bd41f25b4 (diff)
downloadcpython-c2f144079fd272b589c1d7d8a0830943dd582f80.zip
cpython-c2f144079fd272b589c1d7d8a0830943dd582f80.tar.gz
cpython-c2f144079fd272b589c1d7d8a0830943dd582f80.tar.bz2
clarify CALL_FUNCTION #4141
-rw-r--r--Doc/ACKS.txt1
-rw-r--r--Doc/library/dis.rst3
2 files changed, 3 insertions, 1 deletions
diff --git a/Doc/ACKS.txt b/Doc/ACKS.txt
index 84d7339..7680d00 100644
--- a/Doc/ACKS.txt
+++ b/Doc/ACKS.txt
@@ -189,6 +189,7 @@ docs@python.org), and we'll be glad to correct the problem.
* Reuben Sumner
* Kalle Svensson
* Jim Tittsler
+ * David Turner
* Ville Vainio
* Martijn Vries
* Charles G. Waldman
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 6d971f5..84a0c25 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -755,7 +755,8 @@ the more significant byte last.
opcode finds the keyword parameters first. For each keyword argument, the value
is on top of the key. Below the keyword parameters, the positional parameters
are on the stack, with the right-most parameter on top. Below the parameters,
- the function object to call is on the stack.
+ the function object to call is on the stack. Pops all function arguments, and
+ the function itself off the stack, and pushes the return value.
.. opcode:: MAKE_FUNCTION (argc)