commit | 8565f6b6db0fa9f65449b532a5056a98bad3dc37 | [log] [tgz] |
---|---|---|
author | Pablo Galindo <Pablogsal@gmail.com> | Mon Jun 03 08:34:20 2019 +0100 |
committer | GitHub <noreply@github.com> | Mon Jun 03 08:34:20 2019 +0100 |
tree | eeeed2b04e30d603a40efbeb8da748325f5f74c3 | |
parent | d9677f36fe486e86bb86f2cd59cb7fc3804bdac1 [diff] [blame] |
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 {