Skip to content

gh-159061: Document unpacking in generator expressions - #159268

Draft
Marwan-verse wants to merge 1 commit into
python:mainfrom
Marwan-verse:docs/generator-expression-unpacking-159061
Draft

Marwan-verse wants to merge 1 commit into
python:mainfrom
Marwan-verse:docs/generator-expression-unpacking-159061

Conversation

@Marwan-verse

@Marwan-verse Marwan-verse commented Oct 12, 2026 •

Copy link
Copy Markdown

Document the PEP 798 generator-expression unpacking feature in the Language Reference.

This adds a flattening example and a Python 3.15 version note to the generator expressions section.

Closes #159061.

AI disclosure: Prepared with OpenAI Codex.

Validation: The documentation build was not run.

@python-cla-bot

Copy link
Copy Markdown

The following commit authors need to sign the Contributor License Agreement:

CLA not signed

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #35103232 | 📁 Comparing ff14b62 against main (0768eed)

  🔍 Preview build  

1 file changed
± reference/expressions.html

@JelleZijlstra JelleZijlstra changed the title Document unpacking in generator expressions gh-159061: Document unpacking in generator expressions Oct 12, 2026
@StanFromIreland
StanFromIreland marked this pull request as draft October 13, 2026 15:48
@StanFromIreland

Copy link
Copy Markdown
Member

@Marwan-verse please sign the CLA, we can't move forward without it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

Document unpacking in generator expressions (PEP 798)

3 participants