Skip to content

[3.14] gh-127833: Reword and expand the Notation section (GH-134443) #135301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 9, 2025

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