Skip to content

Commit

Permalink
Modern type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
Schamper committed Jan 6, 2024
1 parent 768f035 commit 1adb96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dissect/cstruct/cstruct.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def add_type(self, name: str, type_: MetaType, replace: bool = False) -> None:

addtype = add_type

def load(self, definition: str, deftype: int = None, **kwargs) -> "cstruct":
def load(self, definition: str, deftype: int = None, **kwargs) -> cstruct:
"""Parse structures from the given definitions using the given definition type.
Definitions can be parsed using different parsers. Currently, there's
Expand Down

0 comments on commit 1adb96f

Please sign in to comment.