Skip to content

Commit a9daa4f

Browse files
authored
[3.12] gh-121130: Fix f-string format specifiers with debug expressions (GH-121150) (#122063)
1 parent ca531e4 commit a9daa4f

File tree

7 files changed

+8741
-5967
lines changed

7 files changed

+8741
-5967
lines changed

Doc/library/ast.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,7 @@ Literals
302302
Name(id='a', ctx=Load())],
303303
keywords=[]),
304304
conversion=-1,
305-
format_spec=JoinedStr(
306-
values=[
307-
Constant(value='.3')]))]))
305+
format_spec=Constant(value='.3'))]))
308306

309307

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

0 commit comments

Comments
 (0)