mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
The opcode FOR_LOOP no longer exists.
This commit is contained in:
parent
efb9097add
commit
fea59e7f76
4 changed files with 3 additions and 40 deletions
|
@ -556,13 +556,9 @@ it). If the iterator indicates it is exhausted \code{TOS} is
|
|||
popped, and the byte code counter is incremented by \var{delta}.
|
||||
\end{opcodedesc}
|
||||
|
||||
\begin{opcodedesc}{FOR_LOOP}{delta}
|
||||
This opcode is obsolete.
|
||||
%Iterate over a sequence. TOS is the current index, TOS1 the sequence.
|
||||
%First, the next element is computed. If the sequence is exhausted,
|
||||
%increment byte code counter by \var{delta}. Otherwise, push the
|
||||
%sequence, the incremented counter, and the current item onto the stack.
|
||||
\end{opcodedesc}
|
||||
%\begin{opcodedesc}{FOR_LOOP}{delta}
|
||||
%This opcode is obsolete.
|
||||
%\end{opcodedesc}
|
||||
|
||||
%\begin{opcodedesc}{LOAD_LOCAL}{namei}
|
||||
%This opcode is obsolete.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue