diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 11685a32f48e4f..6591ce76739087 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:: @@ -1163,6 +1169,26 @@ iterations of the loop. .. versionadded:: 3.6 +.. opcode:: BUILD_INTERPOLATION + + Constructs an Interpolation object from the following components, and pushes + it onto the stack: + + * ``value``: the evaluated result at runtime + * ``name``: the expression's source code as a string + * ``format``: the format specification + + .. versionadded:: 3.14 + + +.. opcode:: BUILD_TEMPLATE + + Create a Template object consuming interpolations and a string from the stack, + and pushes it onto the stack. + + .. versionadded:: 3.14 + + .. opcode:: LIST_EXTEND (i) Implements::