forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[3.13] pythongh-119724: Revert "bpo-45759: Better error messages for …
…non-matching 'elif'/'else' statements (pythonGH-29513)" (pythonGH-119974) (pythonGH-120013) This reverts commit 1c8f912. (cherry picked from commit 31a4fb3)
- Loading branch information
Showing
4 changed files
with
454 additions
and
611 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
3 changes: 3 additions & 0 deletions
3
Misc/NEWS.d/next/Core and Builtins/2024-06-03-13-25-04.gh-issue-119724.EH1dkA.rst
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Reverted improvements to error messages for ``elif``/``else`` statements not | ||
matching any valid statements, which made in hard to locate the syntax | ||
errors inside those ``elif``/``else`` blocks. |
Oops, something went wrong.