]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41681: Fix for `f-string/str.format` error description when using 2 `,` in format...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 1 Sep 2020 15:45:59 +0000 (08:45 -0700)
committerGitHub <noreply@github.com>
Tue, 1 Sep 2020 15:45:59 +0000 (11:45 -0400)
commitc16a2a1b643d3e04f86780e2c9e66c3f9f322560
tree8d707bcefac61faf87fd7fd23a998c86421dba20
parentca55ecbf9aab305fa301ec69410ca3d3d18ec848
bpo-41681: Fix for `f-string/str.format` error description when using 2 `,` in format specifier (GH-22036) (GH-22041)

* Fixed `f-string/str.format` error description when using two `,` in format specifier.

Co-authored-by: millefalcon <hanish0019@hmail.com>
(cherry picked from commit 0d6aa7f0ee38eb453bc8f73bf4830e6172be2f35)

Co-authored-by: han-solo <hanish0019@gmail.com>
Co-authored-by: han-solo <hanish0019@gmail.com>
Lib/test/test_format.py
Lib/test/test_fstring.py
Misc/NEWS.d/next/Core and Builtins/2020-08-31-17-49-02.bpo-41681.3-VJiH.rst [new file with mode: 0644]
Python/formatter_unicode.c