Skip to content

Commit 528ca6f

Browse files
committed
Document BUILD_INTERPOLATION
1 parent 43f3a54 commit 528ca6f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Doc/library/dis.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,6 +1163,18 @@ iterations of the loop.
11631163
.. versionadded:: 3.6
11641164

11651165

1166+
.. opcode:: BUILD_INTERPOLATION
1167+
1168+
Constructs an :class:`~string.templatelib.Interpolation` object from the
1169+
following components, and pushes it onto the stack:
1170+
1171+
* value: the evaluated result at runtime
1172+
* name: the expression's source code as a string
1173+
* format: the format specification
1174+
1175+
.. versionadded:: 3.14
1176+
1177+
11661178
.. opcode:: BUILD_TEMPLATE
11671179

11681180
Create a :class:`~string.templatelib.Template` object consuming interpolations

0 commit comments

Comments
 (0)