]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-134675: Add t-string prefixes to tokenizer module, lexical analysis doc, and add...
authorEric V. Smith <ericvsmith@users.noreply.github.com>
Mon, 26 May 2025 17:49:39 +0000 (13:49 -0400)
committerGitHub <noreply@github.com>
Mon, 26 May 2025 17:49:39 +0000 (13:49 -0400)
commit08c78e02fab4a1c9c075637422d621f9c740959a
tree397d642e626fa868c2674b07c70f4a1682e408bf
parentc60f39ada625562bff26400f304690c19fe9f504
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. (#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.
Doc/reference/lexical_analysis.rst
Lib/test/test_tokenize.py
Lib/tokenize.py