diff --git a/riscemu/parser.py b/riscemu/parser.py index d91c40f..eb06dc5 100644 --- a/riscemu/parser.py +++ b/riscemu/parser.py @@ -123,5 +123,5 @@ class AssemblyFileLoader(ProgramLoader): return 0.01 @classmethod - def get_options(cls, argv: list[str]) -> [List[str], T_ParserOpts]: + def get_options(cls, argv: List[str]) -> [List[str], T_ParserOpts]: return argv, {} diff --git a/riscemu/priv/ElfLoader.py b/riscemu/priv/ElfLoader.py index f8538c6..199c2ed 100644 --- a/riscemu/priv/ElfLoader.py +++ b/riscemu/priv/ElfLoader.py @@ -34,7 +34,7 @@ class ElfBinaryFileLoader(ProgramLoader): return 0 @classmethod - def get_options(cls, argv: list[str]) -> [List[str], T_ParserOpts]: + def get_options(cls, argv: List[str]) -> [List[str], T_ParserOpts]: return argv, {} def parse(self) -> Program: diff --git a/riscemu/priv/ImageLoader.py b/riscemu/priv/ImageLoader.py index 11f8fe7..de9341a 100644 --- a/riscemu/priv/ImageLoader.py +++ b/riscemu/priv/ImageLoader.py @@ -22,7 +22,7 @@ class MemoryImageLoader(ProgramLoader): return 0 @classmethod - def get_options(cls, argv: list[str]) -> [List[str], T_ParserOpts]: + def get_options(cls, argv: List[str]) -> [List[str], T_ParserOpts]: return argv, {} def parse(self) -> Iterable[Program]: diff --git a/riscemu/types/program_loader.py b/riscemu/types/program_loader.py index e951749..65db90f 100644 --- a/riscemu/types/program_loader.py +++ b/riscemu/types/program_loader.py @@ -29,7 +29,7 @@ class ProgramLoader(ABC): @classmethod @abstractmethod - def get_options(cls, argv: list[str]) -> [List[str], T_ParserOpts]: + def get_options(cls, argv: List[str]) -> [List[str], T_ParserOpts]: """ parse command line args into an options dictionary