◐ Shell
clean mode source ↗

gh-101100: Resolve reference warnings in reference/ by AA-Turner · Pull Request #138418 · python/cpython

@AA-Turner

@AA-Turner AA-Turner changed the title Resolve reference warnings in reference/ GH-101100: Resolve reference warnings in reference/

Sep 3, 2025

@AA-Turner

# Conflicts:
#	Doc/tools/.nitignore

@hugovk hugovk changed the title GH-101100: Resolve reference warnings in reference/ gh-101100: Resolve reference warnings in reference/

Sep 8, 2025

hugovk

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Sep 8, 2025
…38418)

(cherry picked from commit 6831634)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Sep 8, 2025
…38418)

(cherry picked from commit 6831634)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

hugovk pushed a commit that referenced this pull request

Sep 9, 2025
#138680)

gh-101100: Resolve reference warnings in reference/ (GH-138418)
(cherry picked from commit 6831634)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

lkollar pushed a commit to lkollar/cpython that referenced this pull request

Sep 9, 2025

pablogsal pushed a commit that referenced this pull request

Feb 15, 2026
#138681)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Stan Ulbrych <stan@ulbrych.org>

encukou added a commit that referenced this pull request

May 14, 2026
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.

This was referenced

May 14, 2026

encukou added a commit that referenced this pull request

May 14, 2026
…49836)

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

Co-authored-by: Petr Viktorin <encukou@gmail.com>

encukou added a commit that referenced this pull request

May 14, 2026
…49837)

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

Co-authored-by: Petr Viktorin <encukou@gmail.com>

encukou added a commit that referenced this pull request

May 14, 2026
…49838)

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

Co-authored-by: Petr Viktorin <encukou@gmail.com>