[3.14] gh-134675: Add t-string prefixes to tokenizer module, lexical analysis doc, and add a test to make sure we catch this error in the future. (GH-134734) by miss-islington · Pull Request #134739 · python/cpython · GitHub
Skip to content

[3.14] gh-134675: Add t-string prefixes to tokenizer module, lexical analysis doc, and add a test to make sure we catch this error in the future. (GH-134734) - #134739

Merged
ericvsmith merged 1 commit into
python:3.14from
miss-islington:backport-08c78e0-3.14
May 26, 2025

Conversation

@miss-islington

@miss-islington miss-islington commented May 26, 2025

Copy link
Copy Markdown
Contributor
  • Add t-string prefixes to _all_string_prefixes, and add a test to make sure we catch this error in the future.

  • Update lexical analysis docs for t-string prefixes.
    (cherry picked from commit 08c78e0)

Co-authored-by: Eric V. Smith ericvsmith@users.noreply.github.com


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

…nalysis doc, and add a test to make sure we catch this error in the future. (pythonGH-134734)

* Add t-string prefixes to _all_string_prefixes, and add a test to make sure we catch this error in the future.

* Update lexical analysis docs for t-string prefixes.
(cherry picked from commit 08c78e0)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants