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

File tree

8 files changed

+4047
-1026
lines changed

8 files changed

+4047
-1026
lines changed

Doc/library/ast.rst

+1-3
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)