Merge "Add __ne__() function for API Version object"
This commit is contained in:
commit
c2a101238a
@ -110,3 +110,6 @@ class Version(object):
|
||||
|
||||
def __eq__(a, b):
|
||||
return (a.major, a.minor) == (b.major, b.minor)
|
||||
|
||||
def __ne__(self, other):
|
||||
return not self.__eq__(other)
|
||||
|
Loading…
x
Reference in New Issue
Block a user