Skip to content

Docs: link to language reference instead of PEP#152462

Merged
nedbat merged 1 commit into
python:mainfrom
nedbat:nedbat/unpacking-comprehensions
Jun 28, 2026
Merged

Docs: link to language reference instead of PEP#152462
nedbat merged 1 commit into
python:mainfrom
nedbat:nedbat/unpacking-comprehensions

Conversation

@nedbat

@nedbat nedbat commented Jun 27, 2026

Copy link
Copy Markdown
Member

The language reference is best at explaining what Python is. PEPs are good for explaining how Python came to be that way. We should prefer links within the docs over PEPs if we are explaining how Python is.

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33340110 | 📁 Comparing a1567c9 against main (46d1809)

  🔍 Preview build  

2 files changed
± library/itertools.html
± reference/expressions.html

@nedbat nedbat merged commit 54524ab into python:main Jun 28, 2026
42 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Jun 28, 2026
@nedbat nedbat added the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Jun 28, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @nedbat for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Jun 28, 2026

Copy link
Copy Markdown

GH-152522 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Jun 28, 2026
nedbat added a commit that referenced this pull request Jun 28, 2026
…152522)

Docs: link to language reference instead of PEP (GH-152462)
(cherry picked from commit 54524ab)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
@nedbat nedbat deleted the nedbat/unpacking-comprehensions branch July 1, 2026 10:11
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 issue skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants