Skip to content

Conversation

JamesParrott
Copy link
Contributor

@JamesParrott JamesParrott commented Aug 31, 2025

@StanFromIreland StanFromIreland changed the title gh-138297 Point link in 8.4.4 (docs for finally) to try/else, instead of if/else gh-138297 Point link in docs for finally to try/else, instead of if/else Aug 31, 2025
@JamesParrott
Copy link
Contributor Author

JamesParrott commented Aug 31, 2025

Using the except_else tag as per the suggestion, is much more readable than a single ! -thanks again.

I've done a basic search for the same error elsewhere, and the only three other occurences of
keyword:`else
occur in the subsection for if statements (i.e. correctly in that context).

@AA-Turner AA-Turner added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Sep 2, 2025
@AA-Turner AA-Turner enabled auto-merge (squash) September 2, 2025 14:51
@AA-Turner AA-Turner merged commit 8d5c334 into python:main Sep 2, 2025
31 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Sep 2, 2025
@miss-islington-app
Copy link

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 <[email protected]>
Co-authored-by: Brian Schubert <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
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 <[email protected]>
Co-authored-by: Brian Schubert <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Sep 2, 2025

GH-138381 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Sep 2, 2025
@bedevere-app
Copy link

bedevere-app bot commented Sep 2, 2025

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

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Sep 2, 2025
AA-Turner added a commit that referenced this pull request Sep 2, 2025
…d of if/else (GH-138298) (#138382)

Co-authored-by: James Parrott <[email protected]>
Co-authored-by: Brian Schubert <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
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: Done
Development

Successfully merging this pull request may close these issues.

3 participants