Skip to content
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

Docs: for for/else clarify that return or raise also skip the else #124591

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

nedbat
Copy link
Member

@nedbat nedbat commented Sep 26, 2024

A clarification requested by @terryjreedy


📚 Documentation preview 📚: https://cpython-previews--124591.org.readthedocs.build/

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
@nedbat nedbat merged commit 5329d1b into python:main Sep 27, 2024
25 checks passed
@miss-islington-app
Copy link

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 27, 2024
…ythonGH-124591)

(cherry picked from commit 5329d1b)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Sep 27, 2024

GH-124659 is a backport of this pull request to the 3.13 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 27, 2024
…ythonGH-124591)

(cherry picked from commit 5329d1b)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Sep 27, 2024
@bedevere-app
Copy link

bedevere-app bot commented Sep 27, 2024

GH-124660 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 bug and security fixes label Sep 27, 2024
@nedbat nedbat deleted the nedbat/more-for-else branch September 27, 2024 10:17
Yhg1s pushed a commit that referenced this pull request Sep 27, 2024
…else (GH-124591) (#124659)

Docs: for for/else clarify that return or raise also skip the else (GH-124591)

(cherry picked from commit 5329d1b)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Yhg1s pushed a commit that referenced this pull request Sep 30, 2024
…else (GH-124591) (#124660)

Docs: for for/else clarify that return or raise also skip the else (GH-124591)

(cherry picked from commit 5329d1b)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
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
None yet
Development

Successfully merging this pull request may close these issues.

3 participants