[Python-checkins] cpython: Remove lingering artifact of an initial PEP 380 Grammar change that was later
nick.coghlan
python-checkins at python.org
Sat Jan 14 07:03:18 CET 2012
http://hg.python.org/cpython/rev/fd7b7506f317
changeset: 74377:fd7b7506f317
parent: 74375:ec95169055ab
user: Nick Coghlan <ncoghlan at gmail.com>
date: Sat Jan 14 16:03:07 2012 +1000
summary:
Remove lingering artifact of an initial PEP 380 Grammar change that was later reverted
files:
Grammar/Grammar | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Grammar/Grammar b/Grammar/Grammar
--- a/Grammar/Grammar
+++ b/Grammar/Grammar
@@ -121,7 +121,7 @@
|'**' 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]
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list