Method: difflib.Differ._dump
Calls: 125, Exceptions: 0, Paths: 1Back
Path 1: 125 calls (1.0)
'-' (50) ' ' (43) '+' (32)
['', ' 1. Beautiful is beTTer than ugly.', ' 2. Explicit is better than implicit.', ' 3. Simple is better than complex.', ' 4. Complex is bett...
0 (18) 3 (14) 2 (10) 4 (10) 9 (6) 11 (6) 5 (4) 17 (4) 19 (4) 18 (4)
5 (17) 3 (13) 1 (12) 20 (8) 35 (8) 45 (8) 16 (7) 13 (7) 4 (7) 10 (6)
' 123' (210) ' ' (26) '- 4. Complex is better than complicated.' (18) '+ 5. Flat is better than nested.' (18) '- 2. Explicit is better than...
1def _dump(self, tag, x, lo, hi):
2 """Generate comparison results for a same-tagged range."""
3 for i in range(lo, hi):
4 yield '%s %s' % (tag, x[i])