[pypy-commit] pypy py3k: Fix whitespaces printed in gendfa
raffael_t
pypy.commits at gmail.com
Sun May 22 15:17:03 EDT 2016
Author: Raffael Tfirst <raffael.tfirst at gmail.com>
Branch: py3k
Changeset: r84584:d6417229021c
Date: 2016-05-22 20:54 +0200
http://bitbucket.org/pypy/pypy/changeset/d6417229021c/
Log: Fix whitespaces printed in gendfa
diff --git a/pypy/interpreter/pyparser/gendfa.py b/pypy/interpreter/pyparser/gendfa.py
--- a/pypy/interpreter/pyparser/gendfa.py
+++ b/pypy/interpreter/pyparser/gendfa.py
@@ -280,14 +280,14 @@
if i == 0:
lines.append("accepts = ")
else:
- lines.append(" ")
+ lines.append(" ")
lines.append(line)
lines.append("\n")
i += 1
import StringIO
lines.append("states = [\n")
for numstate, state in enumerate(states):
- lines.append(" #")
+ lines.append(" # ")
lines.append(str(numstate))
lines.append("\n")
s = StringIO.StringIO()
More information about the pypy-commit
mailing list