Merge "Add __ne__ built-in function"
This commit is contained in:
commit
c108621d2f
@ -521,6 +521,9 @@ class Resource(object):
|
|||||||
return self.id == other.id
|
return self.id == other.id
|
||||||
return self._info == other._info
|
return self._info == other._info
|
||||||
|
|
||||||
|
def __ne__(self, other):
|
||||||
|
return not self.__eq__(other)
|
||||||
|
|
||||||
def is_loaded(self):
|
def is_loaded(self):
|
||||||
return self._loaded
|
return self._loaded
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user