bpo-35814: Allow unpacking in r.h.s of annotated assignment expressions (GH-13760)
diff --git a/Python/ast.c b/Python/ast.c
index b775522..df92429 100644
--- a/Python/ast.c
+++ b/Python/ast.c
@@ -3398,7 +3398,7 @@
}
else {
ch = CHILD(ann, 3);
- if (TYPE(ch) == testlist) {
+ if (TYPE(ch) == testlist_star_expr) {
expr3 = ast_for_testlist(c, ch);
}
else {
diff --git a/Python/graminit.c b/Python/graminit.c
index 0587b1c..7c40ce9 100644
--- a/Python/graminit.c
+++ b/Python/graminit.c
@@ -742,7 +742,7 @@
{0, 2},
};
static const arc arcs_17_3[2] = {
- {47, 4},
+ {81, 4},
{84, 4},
};
static const arc arcs_17_4[1] = {