]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-127833: Reword and expand the Notation section (GH-134443)
authorPetr Viktorin <encukou@gmail.com>
Mon, 9 Jun 2025 13:50:11 +0000 (15:50 +0200)
committerGitHub <noreply@github.com>
Mon, 9 Jun 2025 13:50:11 +0000 (15:50 +0200)
commit28d91d06f13ceda3df0cefacec497c370eff4802
tree6b8de61c5332fa27c7f6396a26a7670addeccd8a
parentf90483e13ad48227767cd6d69bc4857843710a5c
gh-127833: Reword and expand the Notation section (GH-134443)

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.

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>
Doc/reference/grammar.rst
Doc/reference/introduction.rst