]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] 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:52 +0000 (02:38 +0200)
committerGitHub <noreply@github.com>
Sun, 15 Jun 2025 00:38:52 +0000 (00:38 +0000)
commita80d47ecb1c1a272b1fc305eaf0a1afdc228ddfd
tree47480ef3e2a9b937cecacae303a725a792cf68e5
parent15340775f8ded517e98604fb416e6f758d21f635
[3.13] gh-135171: Update documentation for the generator expression (GH-135351) (GH-135525)

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]