From: Nick Coghlan Date: Sat, 14 Jan 2012 06:03:07 +0000 (+1000) Subject: Remove lingering artifact of an initial PEP 380 Grammar change that was later reverted X-Git-Tag: v3.3.0a1~418 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4c1be9e3d26ba32434b6e837960b06cc50789680;p=python Remove lingering artifact of an initial PEP 380 Grammar change that was later reverted --- diff --git a/Grammar/Grammar b/Grammar/Grammar index 38320ef26f..d7aaffd60e 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]