From ebd9652fce19c70f2cedce1ab2771c6878beb47b Mon Sep 17 00:00:00 2001 From: Schamper <1254028+Schamper@users.noreply.github.com> Date: Mon, 27 Nov 2023 17:20:29 +0100 Subject: [PATCH] Remove dedundant type hint --- dissect/cstruct/types/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dissect/cstruct/types/base.py b/dissect/cstruct/types/base.py index 98763da..8a7b1c1 100644 --- a/dissect/cstruct/types/base.py +++ b/dissect/cstruct/types/base.py @@ -88,7 +88,7 @@ def write(cls, stream: BinaryIO, value: Any) -> int: """ return cls._write(stream, value) - def dumps(cls: MetaType, value: Any) -> bytes: + def dumps(cls, value: Any) -> bytes: """Dump a value to a byte string. Args: