diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2021-04-12 15:59:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-12 15:59:30 (GMT) |
commit | b86ed8e3bb41ede77eeab4a8bb4e2b91a8065283 (patch) | |
tree | 250e32e95a6bead87006d2e1e1a06d9058fc3b91 /Misc | |
parent | 2459b92a4db69d9b14d0a86a9b81cc075894e910 (diff) | |
download | cpython-b86ed8e3bb41ede77eeab4a8bb4e2b91a8065283.zip cpython-b86ed8e3bb41ede77eeab4a8bb4e2b91a8065283.tar.gz cpython-b86ed8e3bb41ede77eeab4a8bb4e2b91a8065283.tar.bz2 |
bpo-43797: Improve syntax error for invalid comparisons (#25317)
* bpo-43797: Improve syntax error for invalid comparisons
* Update Lib/test/test_fstring.py
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
* Apply review comments
* can't -> cannot
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2021-04-09-19-12-48.bpo-43797.HfRqNP.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-04-09-19-12-48.bpo-43797.HfRqNP.rst b/Misc/NEWS.d/next/Core and Builtins/2021-04-09-19-12-48.bpo-43797.HfRqNP.rst new file mode 100644 index 0000000..2c10bb6 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2021-04-09-19-12-48.bpo-43797.HfRqNP.rst @@ -0,0 +1,2 @@ +Improve ``SyntaxError`` error messages for invalid comparisons. Patch by +Pablo Galindo. |