Skip to content

Commit 99331f4

Browse files
committed
Move one sentence.
1 parent ee6ac99 commit 99331f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/whatsnew/3.14.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,6 @@ PEP 750: Template strings
254254
Template strings are a new mechanism for custom string processing. They share
255255
the familiar syntax of f-strings but, unlike f-strings, return a
256256
:class:`~string.templatelib.Template` instance instead of a simple ``str``.
257-
Templates provide access to the static and interpolated (in curly braces) parts
258-
of a string *before* they are combined.
259257

260258
To write a t-string, use a ``'t'`` prefix instead of an ``'f'``:
261259

@@ -266,7 +264,9 @@ To write a t-string, use a ``'t'`` prefix instead of an ``'f'``:
266264
>>> type(template)
267265
<class 'string.templatelib.Template'>
268266

269-
Iterate over :class:`!Template` instances to access their parts in order:
267+
Templates provide access to the static and interpolated (in curly braces) parts
268+
of a string *before* they are combined. Iterate over :class:`!Template`
269+
instances to access their parts in order:
270270

271271
.. testsetup::
272272

0 commit comments

Comments
 (0)