[Jython-checkins] jython: Remove breaks as __future__ could have multiple imports on one line.
frank.wierzbicki
jython-checkins at python.org
Tue Mar 13 20:00:03 CET 2012
http://hg.python.org/jython/rev/15f8ffe89c47
changeset: 6319:15f8ffe89c47
user: Frank Wierzbicki <fwierzbicki at gmail.com>
date: Tue Mar 13 11:59:54 2012 -0700
summary:
Remove breaks as __future__ could have multiple imports on one line.
files:
grammar/Python.g | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/grammar/Python.g b/grammar/Python.g
--- a/grammar/Python.g
+++ b/grammar/Python.g
@@ -942,10 +942,8 @@
if (a != null) {
if (a.getInternalName().equals("print_function")) {
printStatement = false;
- break;
} else if (a.getInternalName().equals("unicode_literals")) {
unicodeLiterals = true;
- break;
}
}
}
--
Repository URL: http://hg.python.org/jython
More information about the Jython-checkins
mailing list