]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-135171: Update documentation for the generator expression (GH-135351)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 15 Jun 2025 00:32:44 +0000 (03:32 +0300)
committerGitHub <noreply@github.com>
Sun, 15 Jun 2025 00:32:44 +0000 (17:32 -0700)
commit8979d3afe376c67931665070a79f6939ebcd940b
tree15596b67871848ad6ec66d187956b74e806a91d0
parent2e15a50851da66eb8227ec6ea07a9cc7ed08fbf3
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

Co-authored-by: Brian Skinn <brian.skinn@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]