diff options
author | Fred Drake <fdrake@acm.org> | 2000-08-24 00:37:50 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-08-24 00:37:50 (GMT) |
commit | 093272ea85a47181cdf7b9e5ba1938b5a48271df (patch) | |
tree | 109ce8236b7f65f1034b74c9ec5fd44ecdf42043 /Doc/lib/libdis.tex | |
parent | 33438d23faa55e14d09c671dfc71a6355b6a352d (diff) | |
download | cpython-093272ea85a47181cdf7b9e5ba1938b5a48271df.zip cpython-093272ea85a47181cdf7b9e5ba1938b5a48271df.tar.gz cpython-093272ea85a47181cdf7b9e5ba1938b5a48271df.tar.bz2 |
Charles G. Waldman <cgw@fnal.gov>:
Update the dis module documentation to reflect the EXTENDED_ARG opcode.
Diffstat (limited to 'Doc/lib/libdis.tex')
-rw-r--r-- | Doc/lib/libdis.tex | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/lib/libdis.tex b/Doc/lib/libdis.tex index e0698ff..b89bf3d 100644 --- a/Doc/lib/libdis.tex +++ b/Doc/lib/libdis.tex @@ -532,6 +532,13 @@ See the \code{slice()}\bifuncindex{slice} built-in function for more information. \end{opcodedesc} +\begin{opcodedesc}{EXTENDED_ARG}{ext} +Prefixes any opcode which has an argument too big to fit into the +default two bytes. \var{ext} holds two additional bytes which, taken +together with the subsequent opcode's argument, comprise a four-byte +argument, \var {ext} being the two most-significant bytes. +\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 |