summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorT. Wouters <thomas@python.org>2024-06-04 06:36:16 (GMT)
committerGitHub <noreply@github.com>2024-06-04 06:36:16 (GMT)
commit6be55f1bedcd076c12d00bf061bbcffc4ed8073a (patch)
tree1dafe40cef6dbbbf2d849df4eba80b5f3a183bb8 /Misc
parente5fb3a2385809f6cbdba2061b40fecf5b234f549 (diff)
downloadcpython-6be55f1bedcd076c12d00bf061bbcffc4ed8073a.zip
cpython-6be55f1bedcd076c12d00bf061bbcffc4ed8073a.tar.gz
cpython-6be55f1bedcd076c12d00bf061bbcffc4ed8073a.tar.bz2
[3.13] gh-119724: Revert "bpo-45759: Better error messages for non-matching 'elif'/'else' statements (GH-29513)" (GH-119974) (GH-120013)
This reverts commit 1c8f912ebdfdb146cd7dd2d7a3a67d2c5045ddb0. (cherry picked from commit 31a4fb3c74a0284436343858803b54471e2dc9c7)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2024-06-03-13-25-04.gh-issue-119724.EH1dkA.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2024-06-03-13-25-04.gh-issue-119724.EH1dkA.rst b/Misc/NEWS.d/next/Core and Builtins/2024-06-03-13-25-04.gh-issue-119724.EH1dkA.rst
new file mode 100644
index 0000000..78dc48d
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2024-06-03-13-25-04.gh-issue-119724.EH1dkA.rst
@@ -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.