mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-06-17 02:26:40 +00:00
Remove unused __slots__ declaration from TooLongMsgError class
This commit is contained in:
parent
bc43ae4718
commit
bf4560a8c1
@ -234,8 +234,6 @@ class NegativeLengthError(DeserializationError):
|
||||
|
||||
|
||||
class TooLongMsgError(DeserializationError):
|
||||
__slots__ = ("expected", "got")
|
||||
|
||||
def __init__(self, *args: object, got: int, max_length: int) -> None:
|
||||
super().__init__(
|
||||
f"Bad server message length (got {got}, when at most it should be {max_length})",
|
||||
|
Loading…
Reference in New Issue
Block a user