diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2012-01-14 06:03:07 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2012-01-14 06:03:07 (GMT) |
commit | 4c1be9e3d26ba32434b6e837960b06cc50789680 (patch) | |
tree | e6606357abf514e5d8f9f95e7f30d43f4a86faa0 /Grammar | |
parent | 7cdb447b56974bb9e6c4b5fd4336d4c3a48d340c (diff) | |
download | cpython-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/Grammar | 2 |
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] |