Skip to content

gh-132661: Document t-strings and templatelib#135229

Merged
hugovk merged 57 commits intopython:mainfrom
t-strings:docs/pep750-first-pass
Jul 22, 2025
Merged

gh-132661: Document t-strings and templatelib#135229
hugovk merged 57 commits intopython:mainfrom
t-strings:docs/pep750-first-pass

Conversation

@davepeck
Copy link
Contributor

@davepeck davepeck commented Jun 6, 2025

This PR adds documentation for t-strings, including:

  • Document string.templatelib in the Library reference section
  • Add new t-string details to lexical-analysis.rst
  • Add AST nodes to the ast docs
  • Add BUILD_INTERPOLATION and BUILD_TEMPLATE to the dis docs
  • Update the PEP 292 section Template strings section of Doc/library/string.rst to clarify that this is unrelated to t-strings
  • Add a t-strings section to "fancier input/output formatting", after the f-strings section
  • Glossary

We also have an issue tracking our original list of PEP 750 documentation tasks.


📚 Documentation preview 📚: https://cpython-previews--135229.org.readthedocs.build/

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

10 participants