[Python-checkins] python/dist/src/Doc/lib libdis.tex,1.42,1.43

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Mon Feb 21 21:30:54 CET 2005


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19073

Modified Files:
	libdis.tex 
Log Message:
Document missing opcodes.

Index: libdis.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libdis.tex,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- libdis.tex	5 Jan 2005 07:19:11 -0000	1.42
+++ libdis.tex	21 Feb 2005 20:28:07 -0000	1.43
@@ -126,6 +126,10 @@
 Indicates end-of-code to the compiler, not used by the interpreter.
 \end{opcodedesc}
 
+\begin{opcodedesc}{NOP}{}
+Do nothing code.  Used as a placeholder by the bytecode optimizer.
+\end{opcodedesc}
+
 \begin{opcodedesc}{POP_TOP}{}
 Removes the top-of-stack (TOS) item.
 \end{opcodedesc}
@@ -396,6 +400,10 @@
 instruction).
 \end{opcodedesc}
 
+\begin{opcodedesc}{LIST_APPEND}{}
+Calls \code{list.append(TOS1, TOS)}.  Used to implement list comprehensions.
+\end{opcodedesc}
+
 \begin{opcodedesc}{LOAD_LOCALS}{}
 Pushes a reference to the locals of the current scope on the stack.
 This is used in the code for a class definition: After the class body



More information about the Python-checkins mailing list