Skip to content

Commit 011ca83

Browse files
lysnikolaouhugovk
andcommitted
Apply Hugo's suggestions from code review
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent 1dca604 commit 011ca83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/whatsnew/3.14.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ PEP 750: Template Strings
100100

101101
Template string literals (t-strings) are a generalization of f-strings,
102102
using a ``t`` in place of the ``f`` prefix. Instead of evaluating
103-
to :class:`str`, t-strings evaluate to a new :class:`string.templatelib.Template` type:
103+
to :class:`str`, t-strings evaluate to a new :class:`!string.templatelib.Template` type:
104104

105105
.. code-block:: python
106106
@@ -155,7 +155,7 @@ Writing template handlers is straightforward:
155155
156156
With this in place, developers can write template systems to sanitize SQL, make
157157
safe shell operations, improve logging, tackle modern ideas in web development
158-
(HTML, CSS, etc.), and implement lightweight, custom business DSLs.
158+
(HTML, CSS, and so on), and implement lightweight, custom business DSLs.
159159

160160
See :pep:`750` for more details.
161161

0 commit comments

Comments
 (0)