Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 33.9k
gh-135171: Update documentation for the generator expression#135351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-135171: Update documentation for the generator expression #135351
Uh oh!
There was an error while loading. Please reload this page.
Conversation
serhiy-storchaka commented Jun 10, 2025 • edited by github-actions bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by github-actions bot
Uh oh!
There was an error while loading. Please reload this page.
Document that the iterator for the leftmost "for" clause is created immediately.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Brian Skinn <brian.skinn@gmail.com>
8979d3a into python:mainUh oh!
There was an error while loading. Please reload this page.
Thanks @serhiy-storchaka for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…ythonGH-135351) * pythongh-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> --------- (cherry picked from commit 8979d3a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Brian Skinn <brian.skinn@gmail.com>
…ythonGH-135351) * pythongh-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> --------- (cherry picked from commit 8979d3a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Brian Skinn <brian.skinn@gmail.com>
GH-135524 is a backport of this pull request to the 3.14 branch. |
GH-135525 is a backport of this pull request to the 3.13 branch. |
…H-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 8979d3a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Brian Skinn <brian.skinn@gmail.com>
…H-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 8979d3a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Brian Skinn <brian.skinn@gmail.com>
…ythonGH-135351) * pythongh-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>
…ythonGH-135351) * pythongh-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>
…ythonGH-135351) * pythongh-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>
…ythonGH-135351) * pythongh-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>
…ythonGH-135351) * pythongh-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>
Document that the iterator for the leftmost "for" clause is created immediately.
📚 Documentation preview 📚: https://cpython-previews--135351.org.readthedocs.build/