mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Fix annotation for difflib.SequenceMatcher.find_longest_match (#2253)
This commit is contained in:
@@ -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 = ...
|
||||
|
||||
Reference in New Issue
Block a user