From: Christoph Walcher Date: Sun, 17 Aug 2025 22:12:32 +0000 (+0200) Subject: Emend an error in ``string.templatelib`` example output (#137890) X-Git-Tag: v3.15.0a1~664 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e3244d39b8cd3d7cef5a315247d45e801b35869;p=thirdparty%2FPython%2Fcpython.git Emend an error in ``string.templatelib`` example output (#137890) --- diff --git a/Doc/library/string.templatelib.rst b/Doc/library/string.templatelib.rst index 19daf352bdc5..85d65fa9de1e 100644 --- a/Doc/library/string.templatelib.rst +++ b/Doc/library/string.templatelib.rst @@ -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', ''),) )