forked from Firepup650/FireBot
another type hint
This commit is contained in:
parent
4878ba9165
commit
11b967ac0a
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue