summaryrefslogtreecommitdiffstats
path: root/Grammar
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2012-01-14 06:03:07 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2012-01-14 06:03:07 (GMT)
commit4c1be9e3d26ba32434b6e837960b06cc50789680 (patch)
treee6606357abf514e5d8f9f95e7f30d43f4a86faa0 /Grammar
parent7cdb447b56974bb9e6c4b5fd4336d4c3a48d340c (diff)
downloadcpython-4c1be9e3d26ba32434b6e837960b06cc50789680.zip
cpython-4c1be9e3d26ba32434b6e837960b06cc50789680.tar.gz
cpython-4c1be9e3d26ba32434b6e837960b06cc50789680.tar.bz2
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 38320ef..d7aaffd 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]