FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] gh-116666: Add "token" glossary term (GH-130888) by miss-islington · Pull Request #131367 · python/cpython · GitHub

Repository navigation

[3.13] gh-116666: Add "token" glossary term (GH-130888) - #131367

Merged
encukou merged 1 commit into
python:3.13from
miss-islington:backport-30d5205-3.13
Mar 18, 2025
Merged

encukou merged 1 commit into
python:3.13from
miss-islington:backport-30d5205-3.13

Conversation

miss-islington commented Mar 17, 2025 •
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Contributor

Add glossary entry for token, and link to it.
Avoid talking about tokens in the SyntaxError intro (errors.rst); at this point
tokenization is too much of a technical detail. (Even to an advanced reader,
the fact that a single token is highlighted isn't too relevant. Also, we don't
need to guarantee that it's a single token.)
(cherry picked from commit 30d5205)

Co-authored-by: Petr Viktorin encukou@gmail.com
Co-authored-by: Adam Turner 9087854+AA-Turner@users.noreply.github.com


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

Add glossary entry for `token`, and link to it.
Avoid talking about tokens in the SyntaxError intro (errors.rst); at this point
tokenization is too much of a technical detail. (Even to an advanced reader,
the fact that a *single* token is highlighted isn't too relevant. Also, we don't
need to guarantee that it's a single token.)
(cherry picked from commit 30d5205)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
bedevere-app Bot added docs Documentation in the Doc dir awaiting review labels Mar 17, 2025
github-project-automation Bot moved this to Todo in Docs PRs Mar 17, 2025
encukou merged commit 25ae204 into python:3.13 Mar 18, 2025
github-project-automation Bot moved this from Todo to Done in Docs PRs Mar 18, 2025
miss-islington deleted the backport-30d5205-3.13 branch January 2, 2026 17:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL