]> granicus.if.org Git - python/commitdiff
Remove lingering artifact of an initial PEP 380 Grammar change that was later reverted
authorNick Coghlan <ncoghlan@gmail.com>
Sat, 14 Jan 2012 06:03:07 +0000 (16:03 +1000)
committerNick Coghlan <ncoghlan@gmail.com>
Sat, 14 Jan 2012 06:03:07 +0000 (16:03 +1000)
Grammar/Grammar

index 38320ef26fdc2594282c2538c1d2ef285965d013..d7aaffd60e1404010695280be705949c13ac04c5 100644 (file)
@@ -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]