summaryrefslogtreecommitdiff
path: root/Grammar
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-08-05 17:54:10 -0400
committerYury Selivanov <yselivanov@sprymix.com>2015-08-05 17:54:10 -0400
commit14acf5f41d2c9b4ec9c0f3219bc9553c31fd9a9f (patch)
treecdeed9e5dc49aaa22c8596304a1284d4135c9036 /Grammar
parentcedef652fa94f28e9d37eefd8ce6a2f0401f5f45 (diff)
downloadcpython-git-14acf5f41d2c9b4ec9c0f3219bc9553c31fd9a9f.tar.gz
Issue #24791: Fix grammar regression for call syntax: 'g(*a or b)'.
Diffstat (limited to 'Grammar')
-rw-r--r--Grammar/Grammar2
1 files changed, 1 insertions, 1 deletions
diff --git a/Grammar/Grammar b/Grammar/Grammar
index 86ec43248e..99fcea026a 100644
--- a/Grammar/Grammar
+++ b/Grammar/Grammar
@@ -137,7 +137,7 @@ arglist: argument (',' argument)* [',']
argument: ( test [comp_for] |
test '=' test |
'**' test |
- star_expr )
+ '*' test )
comp_iter: comp_for | comp_if
comp_for: 'for' exprlist 'in' or_test [comp_iter]