Commit 78d6f0dc authored by Serhiy Storchaka's avatar Serhiy Storchaka

Issue #23326: Removed __ne__ implementations. Since fixing default __ne__

implementation in issue #21408 they are redundant.
parent 91e6df3f
...@@ -48,12 +48,6 @@ class Version: ...@@ -48,12 +48,6 @@ class Version:
return c return c
return c == 0 return c == 0
def __ne__(self, other):
c = self._cmp(other)
if c is NotImplemented:
return c
return c != 0
def __lt__(self, other): def __lt__(self, other):
c = self._cmp(other) c = self._cmp(other)
if c is NotImplemented: if c is NotImplemented:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment