mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
merge
This commit is contained in:
commit
986efa074e
2 changed files with 11 additions and 2 deletions
|
@ -511,8 +511,8 @@ class SequenceMatcher:
|
|||
non_adjacent.append((i1, j1, k1))
|
||||
|
||||
non_adjacent.append( (la, lb, 0) )
|
||||
self.matching_blocks = non_adjacent
|
||||
return map(Match._make, self.matching_blocks)
|
||||
self.matching_blocks = list(map(Match._make, non_adjacent))
|
||||
return self.matching_blocks
|
||||
|
||||
def get_opcodes(self):
|
||||
"""Return list of 5-tuples describing how to turn a into b.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue