]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-135171: Update documentation for the generator expression (GH-135351) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 15 Jun 2025 00:38:19 +0000 (02:38 +0200)
committerGitHub <noreply@github.com>
Sun, 15 Jun 2025 00:38:19 +0000 (00:38 +0000)
commitee141f027715658e1e69b5f3b6f7e8c6c2f95b2c
tree08517ca0e822f1a6cbe1169b9394fb4ca143a61b
parentc5f066ddf7b1059008ec20595ad312b206e20ba5
[3.14] gh-135171: Update documentation for the generator expression (GH-135351) (#135524)

gh-135171: Update documentation for the generator expression (GH-135351)

* gh-135171: Update documentation for the generator expression

Document that the iterator for the leftmost "for" clause is created
immediately.

* Update Doc/reference/expressions.rst

---------
(cherry picked from commit 8979d3afe376c67931665070a79f6939ebcd940b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Brian Skinn <brian.skinn@gmail.com>
Doc/reference/expressions.rst
Misc/NEWS.d/next/Documentation/2025-06-10-17-02-06.gh-issue-135171.quHvts.rst [new file with mode: 0644]