https://github.com/python/cpython/commit/c9e2e15438839c9259997bcde4e366adc802d8c5 commit: c9e2e15438839c9259997bcde4e366adc802d8c5 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-08-18T14:07:47+03:00 summary:
[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 8e3244d39b8cd3d7cef5a315247d45e801b35869) Co-authored-by: Christoph Walcher <[email protected]> files: M Doc/library/string.templatelib.rst 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', ''),) ) _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
