diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2021-06-03 23:11:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-03 23:11:43 (GMT) |
commit | e53f72a1b42e17a331ed14bec674b1ee01d0720c (patch) | |
tree | fd4f350d1f95abc3f8107ebf9167a554d93ba23d /Misc | |
parent | 3283bf4519139cf62ba04a76930f84ca1e7da910 (diff) | |
download | cpython-e53f72a1b42e17a331ed14bec674b1ee01d0720c.zip cpython-e53f72a1b42e17a331ed14bec674b1ee01d0720c.tar.gz cpython-e53f72a1b42e17a331ed14bec674b1ee01d0720c.tar.bz2 |
[3.10] bpo-44305: Improve syntax error for try blocks without except or finally (GH-26523) (GH-26524)
(cherry picked from commit b250f89bb7e05e72a4641d44b988866b919575db)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2021-06-03-22-51-50.bpo-44305.66dVDG.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-06-03-22-51-50.bpo-44305.66dVDG.rst b/Misc/NEWS.d/next/Core and Builtins/2021-06-03-22-51-50.bpo-44305.66dVDG.rst new file mode 100644 index 0000000..eebc26f --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2021-06-03-22-51-50.bpo-44305.66dVDG.rst @@ -0,0 +1,2 @@ +Improve error message for ``try`` blocks without ``except`` or ``finally`` +blocks. Patch by Pablo Galindo. |