mirror of
https://github.com/zeldaret/oot
synced 2026-05-30 00:46:55 -04:00
Change T|None to typing.Optional[T]
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user