gh-138297 Point link in docs for finally to try/else, instead of if/else#138298
Merged
AA-Turner merged 4 commits intopython:mainfrom Sep 2, 2025
Merged
gh-138297 Point link in docs for finally to try/else, instead of if/else#138298AA-Turner merged 4 commits intopython:mainfrom
finally to try/else, instead of if/else#138298AA-Turner merged 4 commits intopython:mainfrom
Conversation
finally to try/else, instead of if/else
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Contributor
Author
|
Using the I've done a basic search for the same error elsewhere, and the only three other occurences of |
AA-Turner
approved these changes
Sep 2, 2025
|
Thanks @JamesParrott for the PR, and @AA-Turner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Sep 2, 2025
… of if/else (pythonGH-138298) (cherry picked from commit 8d5c334) Co-authored-by: James Parrott <80779630+JamesParrott@users.noreply.github.com> Co-authored-by: Brian Schubert <brianm.schubert@gmail.com> Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Sep 2, 2025
… of if/else (pythonGH-138298) (cherry picked from commit 8d5c334) Co-authored-by: James Parrott <80779630+JamesParrott@users.noreply.github.com> Co-authored-by: Brian Schubert <brianm.schubert@gmail.com> Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
|
GH-138381 is a backport of this pull request to the 3.14 branch. |
|
GH-138382 is a backport of this pull request to the 3.13 branch. |
kumaraditya303
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Sep 9, 2025
…instead of if/else (pythonGH-138298) (python#138381) Co-authored-by: James Parrott <80779630+JamesParrott@users.noreply.github.com> Co-authored-by: Brian Schubert <brianm.schubert@gmail.com> Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
lkollar
pushed a commit
to lkollar/cpython
that referenced
this pull request
Sep 9, 2025
… of if/else (python#138298) Co-authored-by: Brian Schubert <brianm.schubert@gmail.com> Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes 138297
📚 Documentation preview 📚: https://cpython-previews--138298.org.readthedocs.build/