8000 gh-135447: Document new bytecodes in 3.14 by Yzi-Li · Pull Request #135803 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-135447: Document new bytecodes in 3.14 #135803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open
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 Jun 22, 2025
commit 528ca6f50cb41018ae5229de63bc05dd9861bc9c
12 changes: 12 additions & 0 deletions Doc/library/dis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1163,9 +1163,21 @@
.. versionadded:: 3.6


.. opcode:: BUILD_INTERPOLATION

Constructs an :class:`~string.templatelib.Interpolation` object from the

Check warning on line 1168 in Doc/library/dis.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

py:class reference target not found: string.templatelib.Interpolation [ref.class]
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

Check warning on line 1180 in Doc/library/dis.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

py:class reference target not found: string.templatelib.Template [ref.class]
and a string from the stack, and pushes the resulting template onto the stack.

.. versionadded:: 3.14
Expand Down
Loading
0