diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2007-04-15 12:05:43 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2007-04-15 12:05:43 (GMT) |
commit | 650f0d06d3574f843f52edd1126ddd9ebd6fac7d (patch) | |
tree | 9116cebfb4031d0ac3b2db7dc0e8c85d82751e59 /Doc/lib | |
parent | 6ef6306dd62aa092539298ed69c7c6ffff568e2d (diff) | |
download | cpython-650f0d06d3574f843f52edd1126ddd9ebd6fac7d.zip cpython-650f0d06d3574f843f52edd1126ddd9ebd6fac7d.tar.gz cpython-650f0d06d3574f843f52edd1126ddd9ebd6fac7d.tar.bz2 |
Hide list comp variables and support set comprehensions
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libdis.tex | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/lib/libdis.tex b/Doc/lib/libdis.tex index 84841e4..4b0d63b 100644 --- a/Doc/lib/libdis.tex +++ b/Doc/lib/libdis.tex @@ -363,6 +363,10 @@ is the address to jump to (which should be a \code{FOR_ITER} instruction). \end{opcodedesc} +\begin{opcodedesc}{SET_ADD}{} +Calls \code{set.add(TOS1, TOS)}. Used to implement set comprehensions. +\end{opcodedesc} + \begin{opcodedesc}{LIST_APPEND}{} Calls \code{list.append(TOS1, TOS)}. Used to implement list comprehensions. \end{opcodedesc} |