summaryrefslogtreecommitdiffstats
path: root/Grammar
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-08-05 21:54:10 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-08-05 21:54:10 (GMT)
commit14acf5f41d2c9b4ec9c0f3219bc9553c31fd9a9f (patch)
treecdeed9e5dc49aaa22c8596304a1284d4135c9036 /Grammar
parentcedef652fa94f28e9d37eefd8ce6a2f0401f5f45 (diff)
downloadcpython-14acf5f41d2c9b4ec9c0f3219bc9553c31fd9a9f.zip
cpython-14acf5f41d2c9b4ec9c0f3219bc9553c31fd9a9f.tar.gz
cpython-14acf5f41d2c9b4ec9c0f3219bc9553c31fd9a9f.tar.bz2
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 86ec432..99fcea0 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]