Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commented Jun 9, 2025

Prepare the docs for using the notation used in the python.gram
file. If we want to sync the two, the meta-syntax should be the same.

Link the Full Grammar docs here; keep only a few extras.

Also, remove the distinction between lexical and syntactic rules,
except for whitespace handling.
With f- and t-strings, the line between the two is blurry.
(cherry picked from commit 28d91d0)

Co-authored-by: Petr Viktorin encukou@gmail.com
Co-authored-by: Blaise Pabon blaise@gmail.com
Co-authored-by: Adam Turner 9087854+AA-Turner@users.noreply.github.com
Co-authored-by: Lysandros Nikolaou lisandrosnik@gmail.com
Co-authored-by: Colin Marquardt cmarqu42@gmail.com


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

) Prepare the docs for using the notation used in the `python.gram` file. If we want to sync the two, the meta-syntax should be the same. Link the Full Grammar docs here; keep only a few extras. Also, remove the distinction between lexical and syntactic rules, except for whitespace handling. With f- and t-strings, the line between the two is blurry. (cherry picked from commit 28d91d0) Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Blaise Pabon <blaise@gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> Co-authored-by: Colin Marquardt <cmarqu42@gmail.com>
@bedevere-appbedevere-appbot added awaiting review docs Documentation in the Doc dir skip news labels Jun 9, 2025
@encukouencukou enabled auto-merge (squash) June 9, 2025 13:50
@encukouencukou merged commit 8b35651 into python:3.14Jun 9, 2025
32 of 33 checks passed
@github-project-automationgithub-project-automationbot moved this from Todo to Done in Docs PRsJun 9, 2025
@miss-islingtonmiss-islington deleted the backport-28d91d0-3.14 branch January 2, 2026 17:03
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants

@miss-islington@encukou