Typing update

This commit is contained in:
DevilXD committed 2022-07-31 21:40:03 +02:00
1 parent 7a7b94f57c
commit f919850ad2
6 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -130,7 +130,7 @@ class Channel:
name = self._login
return f"Channel({name}, {self.id})"
def __eq__(self, other: object):
def __eq__(self, other: object) -> bool:
if isinstance(other, self.__class__):
return self.id == other.id
return NotImplemented