[3.14] Emend an error in `string.templatelib` example output (GH-137890) (#137892)

Emend an error in ``string.templatelib`` example output (GH-137890)
(cherry picked from commit 8e3244d39b)

Co-authored-by: Christoph Walcher <christoph-wa@gmx.de>
This commit is contained in:
Miss Islington (bot) 2025-08-18 13:07:47 +02:00 committed by GitHub
parent bb4e747654
commit c9e2e15438
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,7 +34,7 @@ To write a t-string, use a ``'t'`` prefix instead of an ``'f'``, like so:
>>> pi = 3.14
>>> t't-strings are new in Python {pi!s}!'
Template(
strings=('t-strings are new in Python ', '.'),
strings=('t-strings are new in Python ', '!'),
interpolations=(Interpolation(3.14, 'pi', 's', ''),)
)