Skip to content

[3.14] gh-141984: Reword the Generator expressions section (GH-150518)#151267

Merged
encukou merged 2 commits into
python:3.14from
StanFromIreland:backport-7bbb960-3.14
Jun 17, 2026
Merged

[3.14] gh-141984: Reword the Generator expressions section (GH-150518)#151267
encukou merged 2 commits into
python:3.14from
StanFromIreland:backport-7bbb960-3.14

Conversation

@StanFromIreland

@StanFromIreland StanFromIreland commented Jun 10, 2026

Copy link
Copy Markdown
Member

…honGH-150518)

(cherry picked from commit 7bbb960)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Blaise Pabon <blaise@gmail.com>
Co-authored-by: Stan Ulbrych <stan@python.org>
Comment thread Doc/reference/expressions.rst Outdated
For example::

.. productionlist:: python-grammar
generator_expression: "(" `expression` `comp_for` ")"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@encukou backport was trivial here, the conflict was caused by the differing grammar, so I took what was on this branch.

@StanFromIreland StanFromIreland requested a review from encukou June 10, 2026 16:27
@encukou

encukou commented Jun 17, 2026

Copy link
Copy Markdown
Member

Thinks for checking!

@encukou encukou merged commit a565b86 into python:3.14 Jun 17, 2026
30 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Jun 17, 2026
@StanFromIreland StanFromIreland deleted the backport-7bbb960-3.14 branch June 17, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants