Skip to content

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

Open
StanFromIreland wants to merge 2 commits into
python:3.14from
StanFromIreland:backport-7bbb960-3.14
Open

[3.14] gh-141984: Reword the Generator expressions section (GH-150518)#151267
StanFromIreland wants to merge 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants