1
0
forked from VimPlug/jedi

NameFinder.filter_name is simpler now.

This commit is contained in:
Dave Halter
2014-04-14 13:45:31 +02:00
parent 6a40c9b671
commit b81eb9f8b3
2 changed files with 24 additions and 16 deletions

View File

@@ -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)