[Python-checkins] python/dist/src/Doc/lib libdis.tex, 1.41,
1.41.14.1
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Mon Feb 21 21:34:27 CET 2005
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20336
Modified Files:
Tag: release24-maint
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.41
retrieving revision 1.41.14.1
diff -u -d -r1.41 -r1.41.14.1
--- libdis.tex 10 May 2003 08:51:26 -0000 1.41
+++ libdis.tex 21 Feb 2005 20:33:50 -0000 1.41.14.1
@@ -122,6 +122,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}
@@ -392,6 +396,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