Fix annotation for difflib.SequenceMatcher.find_longest_match (#2253)

This commit is contained in:
John Reese
2018-06-20 10:52:39 -07:00
committed by Łukasz Langa
parent fb92ee84c5
commit 40b176b195

View File

@@ -30,7 +30,7 @@ class SequenceMatcher(Generic[_T]):
def set_seq1(self, a: Sequence[_T]) -> None: ...
def set_seq2(self, b: Sequence[_T]) -> None: ...
def find_longest_match(self, alo: int, ahi: int, blo: int,
bhi: int) -> Tuple[int, int, int]: ...
bhi: int) -> Match: ...
def get_matching_blocks(self) -> List[Match]: ...
def get_opcodes(self) -> List[Tuple[str, int, int, int, int]]: ...
def get_grouped_opcodes(self, n: int = ...