Skip to content

Commit d382f7e

Browse files
authored
bpo-46289: Make conversion of FormattedValue not optional on ASDL (GH-30467)
Automerge-Triggered-By: GH:isidentical
1 parent 6d07a9f commit d382f7e

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed
Lines changed: 2 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 5 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)