Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Document BUILD_INTERPOLATION
  • Loading branch information
Yzi-Li committed Jul 6, 2025
commit d54d48791f9dfe6f7e21138fa0adb6d0284cbd60
12 changes: 12 additions & 0 deletions Doc/library/dis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1163,6 +1163,18 @@ iterations of the loop.
.. versionadded:: 3.6


.. opcode:: BUILD_INTERPOLATION

Constructs an :class:`~string.templatelib.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 :class:`~string.templatelib.Template` object consuming interpolations
Expand Down