diff options
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | 2023-05-17 13:05:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 13:05:42 (GMT) |
commit | 97db2f3e07bf7d56750e215e4f32653bf3867ef8 (patch) | |
tree | 937151e98c3f0e16603209e9e968098b429b8564 /Misc | |
parent | 0cb2fdc6217aa7c04b5c798cfd195c8d0f4af353 (diff) | |
download | cpython-97db2f3e07bf7d56750e215e4f32653bf3867ef8.zip cpython-97db2f3e07bf7d56750e215e4f32653bf3867ef8.tar.gz cpython-97db2f3e07bf7d56750e215e4f32653bf3867ef8.tar.bz2 |
gh-104572: Improve error messages for invalid constructs in PEP 695 contexts (#104573)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2023-05-16-19-17-48.gh-issue-104572.eBZQYS.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2023-05-16-19-17-48.gh-issue-104572.eBZQYS.rst b/Misc/NEWS.d/next/Core and Builtins/2023-05-16-19-17-48.gh-issue-104572.eBZQYS.rst new file mode 100644 index 0000000..25bad8a --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2023-05-16-19-17-48.gh-issue-104572.eBZQYS.rst @@ -0,0 +1,2 @@ +Improve syntax error message for invalid constructs in :pep:`695` contexts +and in annotations when ``from __future__ import annotations`` is active. |