aboutsummaryrefslogtreecommitdiff
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
commit4c1be9e3d26ba32434b6e837960b06cc50789680 (patch)
treee6606357abf514e5d8f9f95e7f30d43f4a86faa0 /Grammar
parentMerge (diff)
downloadcpython-4c1be9e3d26ba32434b6e837960b06cc50789680.tar.gz
cpython-4c1be9e3d26ba32434b6e837960b06cc50789680.tar.bz2
cpython-4c1be9e3d26ba32434b6e837960b06cc50789680.zip
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 38320ef26fd..d7aaffd60e1 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]