From: Benjamin Peterson Date: Fri, 17 Oct 2008 20:01:01 +0000 (+0000) Subject: clarify CALL_FUNCTION #4141 X-Git-Tag: v2.7a1~2722 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2f144079fd272b589c1d7d8a0830943dd582f80;p=thirdparty%2FPython%2Fcpython.git clarify CALL_FUNCTION #4141 --- diff --git a/Doc/ACKS.txt b/Doc/ACKS.txt index 84d73398702f..7680d00110df 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 6d971f5a9f02..84a0c2598b5c 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)