1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-11 11:49:24 +00:00

Use typing.List

This commit is contained in:
cadmic 2024-01-24 14:24:39 -08:00
parent 477334e527
commit 5f3097e65c

View file

@ -13,7 +13,7 @@ class DmaFile:
overlay_vram_start: typing.Optional[int] overlay_vram_start: typing.Optional[int]
overlay_dir: typing.Optional[str] overlay_dir: typing.Optional[str]
def parse_file_addresses(path: Path) -> list[DmaFile]: def parse_file_addresses(path: Path) -> typing.List[DmaFile]:
result = [] result = []
with open(path) as f: with open(path) as f:
reader = csv.DictReader(f) reader = csv.DictReader(f)