Skip to content

Commit fa987c9

Browse files
committed
style: fix typing in struct_impl
1 parent 686135d commit fa987c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libdestruct/common/struct/struct_impl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def _set(self: struct_impl, _: str) -> None:
9595
"""Set the value of the struct to the given value."""
9696
raise RuntimeError("Cannot set the value of a struct.")
9797

98-
def freeze(self: obj) -> None:
98+
def freeze(self: struct_impl) -> None:
9999
"""Freeze the struct."""
100100
# The struct has no implicit value, but it must freeze its members
101101
for member in self._members.values():

0 commit comments

Comments
 (0)