mirror of
https://github.com/zeldaret/oot.git
synced 2025-02-05 03:34:20 +00:00
More type annotations
This commit is contained in:
parent
96e94ae1f5
commit
d864867cdb
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ def run_objdump(path: Path) -> List[Inst]:
|
||||||
result.pop()
|
result.pop()
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def pair_instructions(insts1: List[Inst], insts2: List[Inst]) -> Iterator[Tuple[Inst|None, Inst|None]]:
|
def pair_instructions(insts1: List[Inst], insts2: List[Inst]) -> Iterator[Tuple[Optional[Inst], Optional[Inst]]]:
|
||||||
differ = difflib.SequenceMatcher(
|
differ = difflib.SequenceMatcher(
|
||||||
a=[(inst.func_name, inst.mnemonic) for inst in insts1],
|
a=[(inst.func_name, inst.mnemonic) for inst in insts1],
|
||||||
b=[(inst.func_name, inst.mnemonic) for inst in insts2],
|
b=[(inst.func_name, inst.mnemonic) for inst in insts2],
|
||||||
|
|
Loading…
Add table
Reference in a new issue