projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5630d6b
)
Rename EqualityComparable to EqualityComparableID
author
Harmon
<Harmon758@gmail.com>
Tue, 23 Feb 2021 03:20:35 +0000
(21:20 -0600)
committer
Harmon
<Harmon758@gmail.com>
Tue, 23 Feb 2021 03:20:35 +0000
(21:20 -0600)
tweepy/mixins.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/mixins.py
b/tweepy/mixins.py
index c5d9788cfaa26c1db2a9963ec5d707335919e243..44fb030a77dd418e39ece8018bdc02fd88bab6c2 100644
(file)
--- a/
tweepy/mixins.py
+++ b/
tweepy/mixins.py
@@
-2,7
+2,7
@@
# Copyright 2009-2021 Joshua Roesslein
# See LICENSE for details.
-class EqualityComparable:
+class EqualityComparable
ID
:
__slots__ = ()
def __eq__(self, other):
@@
-12,7
+12,7
@@
class EqualityComparable:
return NotImplemented
-class Hashable(EqualityComparable):
+class Hashable(EqualityComparable
ID
):
__slots__ = ()
def __hash__(self):