diff --git a/Doc/library/string.templatelib.rst b/Doc/library/string.templatelib.rst index 6e91850fdf59ca..c46850f6a0c678 100644 --- a/Doc/library/string.templatelib.rst +++ b/Doc/library/string.templatelib.rst @@ -33,10 +33,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 ', '!'), - interpolations=(Interpolation(3.14, 'pi', 's', ''),) - ) +