diff options
Diffstat (limited to 'discord/mixins.py')
| -rw-r--r-- | discord/mixins.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/mixins.py b/discord/mixins.py index da40d44c..0ed57945 100644 --- a/discord/mixins.py +++ b/discord/mixins.py @@ -25,7 +25,7 @@ DEALINGS IN THE SOFTWARE. """ class EqualityComparable: - __slots__ = [] + __slots__ = () def __eq__(self, other): return isinstance(other, self.__class__) and other.id == self.id @@ -36,7 +36,7 @@ class EqualityComparable: return True class Hashable(EqualityComparable): - __slots__ = [] + __slots__ = () def __hash__(self): return hash(self.id) |