From: Fred Drake Date: Thu, 17 Aug 2000 22:19:26 +0000 (+0000) Subject: Martin v. Loewis : X-Git-Tag: v2.0b1~399 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=25699f99f413ee8d7b085ed77154d56282de0537;p=thirdparty%2FPython%2Fcpython.git Martin v. Loewis : Document opcodes added to support extended call syntax. --- diff --git a/Doc/lib/libdis.tex b/Doc/lib/libdis.tex index bf1fc63e15d7..e80515c9caf7 100644 --- a/Doc/lib/libdis.tex +++ b/Doc/lib/libdis.tex @@ -513,3 +513,22 @@ is 2, \code{slice(TOS1, TOS)} is pushed; if it is 3, \code{slice(TOS2, TOS1, TOS)} is pushed. See the \code{slice()}\bifuncindex{slice} built-in function. \end{opcodedesc} + +\begin{opcodedesc}{CALL_FUNCTION_VAR}{argc} +Calls a function. \var{argc} is interpreted as in \code{CALL_FUNCTION}. +The top element on the stack contains the variable argument list, followed +by keyword and positional arguments. +\end{opcodedesc} + +\begin{opcodedesc}{CALL_FUNCTION_KW}{argc} +Calls a function. \var{argc} is interpreted as in \code{CALL_FUNCTION}. +The top element on the stack contains the keyword arguments dictionary, +followed by explicit keyword and positional arguments. +\end{opcodedesc} + +\begin{opcodedesc}{CALL_FUNCTION_VAR_KW}{argc} +Calls a function. \var{argc} is interpreted as in +\code{CALL_FUNCTION}. The top element on the stack contains the +keyword arguments dictionary, followed by the variable-arguments +tuple, followed by explicit keyword and positional arguments. +\end{opcodedesc}