Skip to content

Commit e78c4e6

Browse files
committed
bpo-46289: Make conversion of FormattedValue not optional on ASDL
1 parent 994f90c commit e78c4e6

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ASDL declaration of ``FormattedValue`` has changed to reflect ``conversion``
2+
field is not optional.

Parser/Python.asdl

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ module Python
7575
-- x < 4 < 3 and (x < 4) < 3
7676
| Compare(expr left, cmpop* ops, expr* comparators)
7777
| Call(expr func, expr* args, keyword* keywords)
78-
| FormattedValue(expr value, int? conversion, expr? format_spec)
78+
| FormattedValue(expr value, int conversion, expr? format_spec)
7979
| JoinedStr(expr* values)
8080
| Constant(constant value, string? kind)
8181

Python/Python-ast.c

+5-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)