Skip to content

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

Merged
encukou merged 1 commit into
python:3.14from
miss-islington:backport-28d91d0-3.14
Jun 9, 2025
Merged

[3.14] gh-127833: Reword and expand the Notation section (GH-134443)#135301
encukou merged 1 commit into
python:3.14from
miss-islington:backport-28d91d0-3.14

Conversation

@miss-islington

@miss-islingtonmiss-islington commented Jun 9, 2025

Copy link
Copy Markdown
Contributor

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