]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-116666: Add "token" glossary term (GH-130888)
authorPetr Viktorin <encukou@gmail.com>
Mon, 17 Mar 2025 16:05:47 +0000 (17:05 +0100)
committerGitHub <noreply@github.com>
Mon, 17 Mar 2025 16:05:47 +0000 (17:05 +0100)
commit30d52058493e07fd1d3efea960482f4001bd2f86
treec4e4087f551e9bef40968f5b73d2e44be867f435
parent863d54cbaf6c0b45fff691ab275515c1483ad68d
gh-116666: Add "token" glossary term (GH-130888)

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.)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Doc/glossary.rst
Doc/reference/lexical_analysis.rst
Doc/tutorial/errors.rst
Doc/tutorial/interactive.rst