Skip to content

Commit 7e53639

Browse files
committed
Document NOT_TAKEN
1 parent 30b8007 commit 7e53639

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Doc/library/dis.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,12 @@ operations on it as if it was a Python list. The top of the stack corresponds to
585585
generate line tracing events.
586586

587587

588+
.. opcode:: NOT_TAKEN
589+
Do nothing code. Used as a hint to the interpreter that a branch was predicted
590+
as not taken.
591+
.. versionadded:: 3.14
592+
593+
588594
.. opcode:: POP_TOP
589595

590596
Removes the top-of-stack item::
@@ -1168,9 +1174,9 @@ iterations of the loop.
11681174
Constructs an :class:`~string.templatelib.Interpolation` object from the
11691175
following components, and pushes it onto the stack:
11701176

1171-
* value: the evaluated result at runtime
1172-
* name: the expression's source code as a string
1173-
* format: the format specification
1177+
* ``value``: the evaluated result at runtime
1178+
* ``name``: the expression's source code as a string
1179+
* ``format``: the format specification
11741180

11751181
.. versionadded:: 3.14
11761182

0 commit comments

Comments
 (0)