another type hint

This commit is contained in:
Firepup Sixfifty 2023-11-14 16:18:41 -06:00
parent 4878ba9165
commit 11b967ac0a
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

View file

@ -38,7 +38,7 @@ class bytes(bbytes):
return cls.value # type: ignore return cls.value # type: ignore
@classmethod @classmethod
def lazy_decode(cls): def lazy_decode(cls) -> str:
"Lazily decode the bytes object using string manipulation" "Lazily decode the bytes object using string manipulation"
return str(cls.value)[2:-1] return str(cls.value)[2:-1]