]> granicus.if.org Git - python/commitdiff
Charles G. Waldman <cgw@fnal.gov>:
authorFred Drake <fdrake@acm.org>
Thu, 24 Aug 2000 00:37:50 +0000 (00:37 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 24 Aug 2000 00:37:50 +0000 (00:37 +0000)
Update the dis module documentation to reflect the EXTENDED_ARG opcode.

Doc/lib/libdis.tex

index e0698ffbb8d16112931e9ae032e9f7e9d7be3803..b89bf3dffdfea45180a45f5b7b876c4c8e8fba6d 100644 (file)
@@ -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