summaryrefslogtreecommitdiffstats
path: root/Grammar
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-05-16 13:44:45 (GMT)
committerBenjamin Peterson <benjamin@python.org>2015-05-16 13:44:45 (GMT)
commitde12b79cd65ddde79fdaf794b58cd184f345a884 (patch)
tree02b0890752f2a2ec66ce8d6049ad0c4eaba1d8df /Grammar
parent8de32d906f3cdcffa088fc786eefa8f4e7bce785 (diff)
downloadcpython-de12b79cd65ddde79fdaf794b58cd184f345a884.zip
cpython-de12b79cd65ddde79fdaf794b58cd184f345a884.tar.gz
cpython-de12b79cd65ddde79fdaf794b58cd184f345a884.tar.bz2
allow test node after ** in calls (closes #24176)
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 4b193b9..d129f62 100644
--- a/Grammar/Grammar
+++ b/Grammar/Grammar
@@ -136,7 +136,7 @@ arglist: argument (',' argument)* [',']
# that precede iterable unpackings are blocked; etc.
argument: ( test [comp_for] |
test '=' test |
- '**' expr |
+ '**' test |
star_expr )
comp_iter: comp_for | comp_if