Skip to content

Commit 54914fe

Browse files
davepeckencukou
andauthored
Update Doc/library/string.templatelib.rst
Co-authored-by: Petr Viktorin <encukou@gmail.com>
1 parent 84dbc16 commit 54914fe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/string.templatelib.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ reassigned.
8484

8585
If two or more consecutive interpolations are passed, they will be treated
8686
as separate interpolations and an empty string will be inserted between them.
87-
For example, the following code creates a template with a single value in
88-
the :attr:`~Template.strings` attribute:
87+
For example, the following code creates a template with empty placeholders
88+
in the :attr:`~Template.strings` attribute:
8989

9090
>>> from string.templatelib import Interpolation, Template
9191
>>> template = Template(Interpolation("World", "name"), Interpolation("!", "punctuation"))

0 commit comments

Comments
 (0)