Skip to content

Commit 127ebc6

Browse files
committed
Simplify the NOTE
1 parent 5a8cf1b commit 127ebc6

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

Doc/library/string.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -797,13 +797,13 @@ Template strings ($-strings)
797797

798798
.. note::
799799

800-
The :class:`~string.Template` class described here was introduced in Python
801-
2.4. It is entirely unrelated to, and should *not* be confused with, the
802-
new :ref:`Template Strings <template-strings>` feature and
803-
:ref:`t-string literal syntax <t-strings>` introduced in Python 3.14 and
804-
originally described in :pep:`750`. Python's t-string literals evaluate to
805-
instances of a different :class:`~string.templatelib.Template` class, which
806-
is found in the :mod:`string.templatelib` module.
800+
The feature described here was introduced in Python 2.4. It is entirely
801+
unrelated to, and should *not* be confused with, the new
802+
:ref:`Template Strings <template-strings>` feature and
803+
:ref:`t-string literal syntax <t-strings>` introduced in Python 3.14.
804+
T-string literals evaluate to instances of a different
805+
:class:`~string.templatelib.Template` class, found in the
806+
:mod:`string.templatelib` module.
807807

808808
Template strings provide simpler string substitutions as described in
809809
:pep:`292`. A primary use case for template strings is for

0 commit comments

Comments
 (0)