Fix docstring

This commit is contained in:
Firepup Sixfifty 2023-11-14 18:03:09 -06:00
parent 11c2426ba4
commit 44a00a1bfd
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

View file

@ -44,7 +44,7 @@ class bytes(bbytes):
@classmethod @classmethod
def safe_decode(cls) -> str: def safe_decode(cls) -> str:
'Calls cls.decode(cls, errors = "ignore"), if that errors, returns a blank bytes object' 'Calls cls.decode(cls, errors = "ignore"), if that errors, returns a blank string'
try: try:
return cls.decode(cls.value, errors = "ignore") # type: ignore return cls.decode(cls.value, errors = "ignore") # type: ignore
except TypeError: except TypeError: