From 5594963a62f817a1d83a3cc54f2cba03f987723d Mon Sep 17 00:00:00 2001 From: Christoph Walcher Date: Sun, 17 Aug 2025 23:18:31 +0200 Subject: [PATCH] Fix typo in string templatelib doc --- Doc/library/string.templatelib.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/string.templatelib.rst b/Doc/library/string.templatelib.rst index 19daf352bdc5fc..85d65fa9de1e22 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', ''),) )