mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 10:41:15 +00:00
Remove 'Self' type int (3.11+)
This commit is contained in:
parent
63fba7b01a
commit
56971a3f5e
@ -1,6 +1,6 @@
|
||||
from os import name as os_name
|
||||
from enum import Enum
|
||||
from typing import List, Self
|
||||
from typing import List
|
||||
import subprocess
|
||||
from isledecomp.lib import lib_path_join
|
||||
from isledecomp.dir import winepath_unix_to_win
|
||||
@ -29,23 +29,23 @@ def __init__(self, pdb: str) -> None:
|
||||
self._pdb: str = pdb
|
||||
self._options = set()
|
||||
|
||||
def lines(self) -> Self:
|
||||
def lines(self):
|
||||
self._options.add(DumpOpt.LINES)
|
||||
return self
|
||||
|
||||
def symbols(self) -> Self:
|
||||
def symbols(self):
|
||||
self._options.add(DumpOpt.SYMBOLS)
|
||||
return self
|
||||
|
||||
def globals(self) -> Self:
|
||||
def globals(self):
|
||||
self._options.add(DumpOpt.GLOBALS)
|
||||
return self
|
||||
|
||||
def publics(self) -> Self:
|
||||
def publics(self):
|
||||
self._options.add(DumpOpt.PUBLICS)
|
||||
return self
|
||||
|
||||
def section_contributions(self) -> Self:
|
||||
def section_contributions(self):
|
||||
self._options.add(DumpOpt.SECTION_CONTRIB)
|
||||
return self
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user