Typing update
This commit is contained in:
1 parent
7a7b94f57c
commit
f919850ad2
6 files changed
+10
-10
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user