mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-03 00:06:37 +00:00
Change T|None to typing.Optional[T]
This commit is contained in:
parent
a725db153a
commit
477334e527
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
import csv
|
||||
from dataclasses import dataclass
|
||||
from pathlib import Path
|
||||
import typing
|
||||
|
||||
@dataclass
|
||||
class DmaFile:
|
||||
|
@ -9,8 +10,8 @@ class DmaFile:
|
|||
vrom_end: int
|
||||
rom_start: int
|
||||
rom_end: int
|
||||
overlay_vram_start: int|None
|
||||
overlay_dir: str|None
|
||||
overlay_vram_start: typing.Optional[int]
|
||||
overlay_dir: typing.Optional[str]
|
||||
|
||||
def parse_file_addresses(path: Path) -> list[DmaFile]:
|
||||
result = []
|
||||
|
|
Loading…
Reference in a new issue