diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 11685a32f48e4f..1889b4b585f133 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -585,6 +585,12 @@ operations on it as if it was a Python list. The top of the stack corresponds to generate line tracing events. +.. opcode:: NOT_TAKEN + Do nothing code. Used as a hint to the interpreter that a branch was predicted + as not taken. + .. versionadded:: 3.14 + + .. opcode:: POP_TOP Removes the top-of-stack item:: @@ -592,6 +598,11 @@ operations on it as if it was a Python list. The top of the stack corresponds to STACK.pop() +.. opcode:: POP_ITER + + Removes the iterator from the top of the stack. + + .. opcode:: END_FOR Removes the top-of-stack item. @@ -1163,6 +1174,27 @@ iterations of the loop. .. versionadded:: 3.6 +.. opcode:: BUILD_INTERPOLATION + + It expects as stack inputs (from top of stack down): + + * ``format``: ``STACK[oparg & 1]`` + * ``str``: ``STACK[-1 - (oparg & 1)]`` + * ``value``: ``STACK[-2 - (oparg & 1)]`` + + It outputs the interpolation object to ``STACK[-1]`` after consuming its inputs. + + .. versionadded:: 3.14 + + +.. opcode:: BUILD_TEMPLATE + + Consumes ``STACK[-1]`` (interpolations) and ``STACK[-2]`` (strings) and + outputs the template object to ``STACK[-1]``. + + .. versionadded:: 3.14 + + .. opcode:: LIST_EXTEND (i) Implements::