Looks like you could just do
```
def __ne__(self, other):
    return not self.__eq__(other)
```
That is easier to maintain.