Skip to content

gh-135676: Lexical analysis: Reword String literals and related sections #135942

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jul 23, 2025
Prev Previous commit
Remove merge artifact
  • Loading branch information
encukou committed Jul 23, 2025
commit 7595f08cd5ff6914add24fd0d572eabcb9c95aa6
13 changes: 0 additions & 13 deletions Doc/reference/lexical_analysis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1079,19 +1079,6 @@ include expressions.
See also :pep:`498` for the proposal that added formatted string literals,
and :meth:`str.format`, which uses a related format string mechanism.

.. _t-strings:
.. _template-string-literals:

t-strings
---------

A :dfn:`template string literal` or :dfn:`t-string` is a string literal that
is prefixed with ``'t'`` or ``'T'``.
These strings have internal structure similar to :ref:`f-strings`,
but are evaluated as Template objects instead of strings.

.. versionadded:: 3.14


.. _t-strings:
.. _template-string-literals:
Expand Down
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy