equal
deleted
inserted
replaced
58 s = "".join(b) |
58 s = "".join(b) |
59 return s and (struct.pack(">lll", 0, 0, len(s)) + s) |
59 return s and (struct.pack(">lll", 0, 0, len(s)) + s) |
60 |
60 |
61 bin = [] |
61 bin = [] |
62 p = [0] |
62 p = [0] |
63 for i in a: p.append(p[-1] + len(i)) |
63 for i in a: |
|
64 p.append(p[-1] + len(i)) |
64 |
65 |
65 d = difflib.SequenceMatcher(None, a, b).get_matching_blocks() |
66 d = difflib.SequenceMatcher(None, a, b).get_matching_blocks() |
66 d = _normalizeblocks(a, b, d) |
67 d = _normalizeblocks(a, b, d) |
67 la = 0 |
68 la = 0 |
68 lb = 0 |
69 lb = 0 |