cpython/Doc/reference
Miss Islington (bot) 8b35651853
[3.14] gh-127833: Reword and expand the Notation section (GH-134443) (GH-135301)
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 28d91d06f1)

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>
2025-06-09 13:56:24 +00:00
..
compound_stmts.rst [3.14] gh-134026: Fix grammar description of for statement (GH-134034) (GH-134424) 2025-05-21 18:43:07 +02:00
datamodel.rst [3.14] gh-119180: Updates to PEP 649/749 docs (GH-134640) (#134731) 2025-05-26 15:40:43 +00:00
executionmodel.rst gh-70870: Clarify dual usage of 'free variable' (#122545) 2024-10-08 07:52:12 +00:00
expressions.rst [3.14] gh-134026: Fix grammar description of for statement (GH-134034) (GH-134424) 2025-05-21 18:43:07 +02:00
grammar.rst [3.14] gh-127833: Reword and expand the Notation section (GH-134443) (GH-135301) 2025-06-09 13:56:24 +00:00
import.rst Doc: update term "namespace package" (#129251) 2025-02-14 13:47:54 -05:00
index.rst
introduction.rst [3.14] gh-127833: Reword and expand the Notation section (GH-134443) (GH-135301) 2025-06-09 13:56:24 +00:00
lexical_analysis.rst [3.14] gh-134675: Add t-string prefixes to tokenizer module, lexical analysis doc, and add a test to make sure we catch this error in the future. (GH-134734) (#134739) 2025-05-26 15:24:24 -04:00
simple_stmts.rst Docs: Miscellaneous corrections to simple statements in the language reference (GH-126720) 2024-11-15 13:02:34 -08:00
toplevel_components.rst gh-130587: Add hand-written docs for non-OP tokens (GH-130588) 2025-03-19 16:42:11 +01:00