Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d24ec8a

Browse files
authored
[3.13] gh-121130: Fix f-string format specifiers with debug expressions (GH-121150) (#121868)
(cherry picked from commit c46d64e)
1 parent 06d76c4 commit d24ec8a

8 files changed

Lines changed: 4047 additions & 1026 deletions

File tree

Doc/library/ast.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,7 @@ Literals
316316
args=[
317317
Name(id='a', ctx=Load())]),
318318
conversion=-1,
319-
format_spec=JoinedStr(
320-
values=[
321-
Constant(value='.3')]))]))
319+
format_spec=Constant(value='.3'))]))
322320

323321

324322
.. class:: List(elts, ctx)

0 commit comments

Comments
 (0)