Fix: MutableRecord.__ne__ misspelt as '__neq__'.
Add tests for MutableRecord and Position.
This commit is contained in:
1 parent
4b6feda1cb
commit
bea2222c58
3 files changed
+6
-2
No files matched your search
@@ -67,7 +67,7 @@ class MutableRecord(object):
|
||||
return type(self) is type(other) and \
|
||||
all(getattr(self, a) == getattr(other, a) for a in self.__slots__)
|
||||
|
||||
def __neq__(self, other):
|
||||
def __ne__(self, other):
|
||||
return not (self == other)
|
||||
|
||||
def __hash__(self):
|
||||
|
||||
Reference in new issue
Block a user