cpython/Doc/reference
Petr Viktorin c37529293d
Link to existing rules in compound_stmts.rst (GH-149811)
In gh-138418, `!` was added to links to rules that don't exist in
the docs, in order to silence broken link warnings.
However, productionlist doesn't parse the `!`, which ends up in
the rendered documentation. (It's possible that gh-127835 broke
the `!` support.)

Replace the names with ones that appear in docs:

- `star_named_expression` in the grammar corresponds to
  `flexible_expression` in the docs
- `star_named_expressions` in the grammar corresponds to
  `flexible_expression_list` in the docs
- `named_expression` in the grammar corresponds to
  `assignment_expression` in the docs

Having two sets of names isn't great of course. Consolidating them
is tracked in (subissues of) gh-127833.
2026-05-14 18:47:52 +02:00
..
compound_stmts.rst Link to existing rules in compound_stmts.rst (GH-149811) 2026-05-14 18:47:52 +02:00
datamodel.rst gh-134690: Removed deprecated codetype.co_lnotab (#134691) 2026-04-25 19:13:48 +03:00
executionmodel.rst
expressions.rst gh-141984: Reword and reorganize the first part of Atoms docs (GH-144117) 2026-02-18 14:13:21 +01:00
grammar.rst gh-143054: Disallow non-top-level Cut for now (GH-143622) 2026-01-13 13:21:59 +01:00
import.rst
index.rst
introduction.rst
lexical_analysis.rst Docs: Fix a typo in the 'Non-ASCII characters in names' section (#148043) 2026-04-04 17:45:52 +01:00
simple_stmts.rst gh-137337: Clarify import statement namespace binding (GH-144607) 2026-05-04 17:45:00 +03:00
toplevel_components.rst