summaryrefslogtreecommitdiff
path: root/Grammar
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2012-01-14 16:03:07 +1000
committerNick Coghlan <ncoghlan@gmail.com>2012-01-14 16:03:07 +1000
commit11f7b4742810dcca29c7925471117ae2b8fdf984 (patch)
treee17455ec4e908082cf8fd55fcd21f655d9b7445f /Grammar
parent8623d41e1e166f08022713f1f030fa110d18279e (diff)
downloadcpython-11f7b4742810dcca29c7925471117ae2b8fdf984.tar.gz
Remove lingering artifact of an initial PEP 380 Grammar change that was later reverted
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 38320ef26f..d7aaffd60e 100644
--- a/Grammar/Grammar
+++ b/Grammar/Grammar
@@ -121,7 +121,7 @@ arglist: (argument ',')* (argument [',']
|'**' test)
# The reason that keywords are test nodes instead of NAME is that using NAME
# results in an ambiguity. ast.c makes sure it's a NAME.
-argument: (test) [comp_for] | test '=' test # Really [keyword '='] test
+argument: test [comp_for] | test '=' test # Really [keyword '='] test
comp_iter: comp_for | comp_if
comp_for: 'for' exprlist 'in' or_test [comp_iter]
comp_if: 'if' test_nocond [comp_iter]