[pypy-commit] pypy default: Tweak the repr of loops shown e.g. in test_pypy_c/.
arigo
noreply at buildbot.pypy.org
Wed Nov 26 00:00:58 CET 2014
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r74719:afc446fb831e
Date: 2014-11-25 23:49 +0100
http://bitbucket.org/pypy/pypy/changeset/afc446fb831e/
Log: Tweak the repr of loops shown e.g. in test_pypy_c/.
diff --git a/rpython/tool/jitlogparser/parser.py b/rpython/tool/jitlogparser/parser.py
--- a/rpython/tool/jitlogparser/parser.py
+++ b/rpython/tool/jitlogparser/parser.py
@@ -216,7 +216,7 @@
line_starts_here = property(getline_starts_here)
def __repr__(self):
- return "[%s]" % ", ".join([repr(op) for op in self.operations])
+ return "[%s\n]" % "\n ".join([repr(op) for op in self.operations])
def pretty_print(self, out):
pass
More information about the pypy-commit
mailing list