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
commit0b741f6989074c723db6b09339345d8c77d69f1d (patch)
tree5050751d96d8a96e229f9eea12981cfdfb931c2e /Grammar
parentbafbebbddec0c6f005de9a456530057daa0e9d06 (diff)
downloadcpython-0b741f6989074c723db6b09339345d8c77d69f1d.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]