]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-47129: Add more informative messages to f-string syntax errors (32127)
authorMaciej Górski <36813763+macgors@users.noreply.github.com>
Mon, 28 Mar 2022 21:08:36 +0000 (23:08 +0200)
committerGitHub <noreply@github.com>
Mon, 28 Mar 2022 21:08:36 +0000 (17:08 -0400)
commit7b44ade018cfe6f54002a3cee43e8aa415d4d635
tree07816d9022fea4b902b69026360d912167410daf
parent15ba8167d78f9e66bd5b07c4e5cbb0463460310a
bpo-47129: Add more informative messages to f-string syntax errors (32127)

* Add more informative messages to f-string syntax errors

* 📜🤖 Added by blurb_it.

* Fix whitespaces

* Change error message

* Remove the 'else' statement (as sugested in review)

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Lib/test/test_fstring.py
Misc/NEWS.d/next/Core and Builtins/2022-03-26-16-35-57.bpo-47129.hDg2Vt.rst [new file with mode: 0644]
Parser/string_parser.c