Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
string.templatelib
1 parent 25b9728 commit 8e3244dCopy full SHA for 8e3244d
1 file changed
Doc/library/string.templatelib.rst
@@ -34,7 +34,7 @@ To write a t-string, use a ``'t'`` prefix instead of an ``'f'``, like so:
34
>>> pi = 3.14
35
>>> t't-strings are new in Python {pi!s}!'
36
Template(
37
- strings=('t-strings are new in Python ', '.'),
+ strings=('t-strings are new in Python ', '!'),
38
interpolations=(Interpolation(3.14, 'pi', 's', ''),)
39
)
40
0 commit comments