NameFinder.filter_name is simpler now.
This commit is contained in:
1 parent
6a40c9b671
commit
b81eb9f8b3
2 files changed
+24
-16
No files matched your search
@@ -1387,6 +1387,9 @@ class NamePart(object):
|
||||
def __eq__(self, other):
|
||||
return self.string == other
|
||||
|
||||
def __ne__(self, other):
|
||||
return not self.__eq__(other)
|
||||
|
||||
def __hash__(self):
|
||||
return hash(self.string)
|
||||
|
||||
|
||||
Reference in new issue
Block a user