Skip to content

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-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-app bedevere-app bot added awaiting review docs Documentation in the Doc dir skip news labels Jun 9, 2025
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs Jun 9, 2025
@encukou encukou enabled auto-merge (squash) June 9, 2025 13:50
@encukou encukou merged commit 8b35651 into python:3.14 Jun 9, 2025
32 of 33 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Jun 9, 2025
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