Skip to content

Commit 1adb96f

Browse files
committed
Modern type hint
1 parent 768f035 commit 1adb96f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dissect/cstruct/cstruct.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def add_type(self, name: str, type_: MetaType, replace: bool = False) -> None:
215215

216216
addtype = add_type
217217

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

0 commit comments

Comments
 (0)