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

@StanFromIrelandStanFromIreland 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 threadDoc/reference/expressions.rst Outdated
For example::

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

Copy link
Copy Markdown
MemberAuthor

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.

@encukou

Copy link
Copy Markdown
Member

Thinks for checking!

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

Labels

docsDocumentation in the Doc dirskip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants

@StanFromIreland@encukou