summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2021-08-05 17:28:57 (GMT)
committerGitHub <noreply@github.com>2021-08-05 17:28:57 (GMT)
commitf5cbea6b1b5fc39cca377c6cc93f222916015fc4 (patch)
treea57f1c3399129af299de14b8952bb77abcb8ba30 /Misc
parent3d315c311676888201f4a3576e4ee3698684a3a2 (diff)
downloadcpython-f5cbea6b1b5fc39cca377c6cc93f222916015fc4.zip
cpython-f5cbea6b1b5fc39cca377c6cc93f222916015fc4.tar.gz
cpython-f5cbea6b1b5fc39cca377c6cc93f222916015fc4.tar.bz2
bpo-44838: Refine the custom syntax errors for invalid 'if' expressions (GH-27615)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2021-08-05-17-42-03.bpo-44838.r_Lkj_.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-08-05-17-42-03.bpo-44838.r_Lkj_.rst b/Misc/NEWS.d/next/Core and Builtins/2021-08-05-17-42-03.bpo-44838.r_Lkj_.rst
new file mode 100644
index 0000000..a542a5d
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2021-08-05-17-42-03.bpo-44838.r_Lkj_.rst
@@ -0,0 +1,2 @@
+Fixed a bug that was causing the parser to raise an incorrect custom
+:exc:`SyntaxError` for invalid 'if' expressions. Patch by Pablo Galindo.