cpython/Doc/reference
Miss Islington (bot) 451f06b02e
[3.15] Link to existing rules in compound_stmts.rst (GH-149811) (GH-149836)
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.
(cherry picked from commit c37529293d)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
2026-05-14 19:09:05 +02:00
..
compound_stmts.rst [3.15] Link to existing rules in compound_stmts.rst (GH-149811) (GH-149836) 2026-05-14 19:09:05 +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
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