Remove lingering artifact of an initial PEP 380 Grammar change that was later reverted

This commit is contained in:
Nick Coghlan 2012-01-14 16:03:07 +10:00
parent 7cdb447b56
commit 4c1be9e3d2
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ arglist: (argument ',')* (argument [',']
|'**' test) |'**' test)
# The reason that keywords are test nodes instead of NAME is that using NAME # 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. # 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_iter: comp_for | comp_if
comp_for: 'for' exprlist 'in' or_test [comp_iter] comp_for: 'for' exprlist 'in' or_test [comp_iter]
comp_if: 'if' test_nocond [comp_iter] comp_if: 'if' test_nocond [comp_iter]