-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
Use else
instead of finally
in "The with statement" documentation.
#126664
Labels
docs
Documentation in the Doc dir
Comments
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Nov 11, 2024
…nt" documentation. (pythonGH-126665) (cherry picked from commit 25257d6) Co-authored-by: vivodi <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Nov 11, 2024
…nt" documentation. (pythonGH-126665) (cherry picked from commit 25257d6) Co-authored-by: vivodi <[email protected]>
You should be able to close this now. |
Yeah, all merged. |
picnixz
pushed a commit
to picnixz/cpython
that referenced
this issue
Dec 8, 2024
…nt" documentation. (pythonGH-126665)
gpshead
added a commit
to gpshead/cpython
that referenced
this issue
Dec 22, 2024
… statement" documentation. (pythonGH-126665)" This reverts commit 25257d6.
reverting these per #126665 (comment) |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Dec 22, 2024
…aining "with" (pythonGH-128169) Revert "pythongh-126664: Use `else` instead of `finally` in "The with statement" documentation. (pythonGH-126665)" This reverts commit 25257d6. (cherry picked from commit 228f275) Co-authored-by: Gregory P. Smith <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Dec 22, 2024
…aining "with" (pythonGH-128169) Revert "pythongh-126664: Use `else` instead of `finally` in "The with statement" documentation. (pythonGH-126665)" This reverts commit 25257d6. (cherry picked from commit 228f275) Co-authored-by: Gregory P. Smith <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Documentation
In 8.5 The
with
statement, we can useelse
instead offinally
.is semantically equivalent to:
Linked PRs
else
instead offinally
in "The with statement" documentation. #126665else
instead offinally
in "The with statement" documentation. (GH-126665) #126670else
instead offinally
in "The with statement" documentation. (GH-126665) #126671else
instead offinally
in docs explaining "with" #128169else
instead offinally
in docs explaining "with" (GH-128169) #128170else
instead offinally
in docs explaining "with" (GH-128169) #128171The text was updated successfully, but these errors were encountered: