Commits

Anonymous committed 6ed5486

pyobjects: __ne__ should be implemented

  • Participants
  • Parent commits 9af297b

Comments (0)

Files changed (1)

File rope/base/pyobjects.py

                 return self.type is obj.type
         return self is obj
 
+    def __ne__(self, obj):
+        return not self.__eq__(obj)
+
     def __hash__(self):
         """See docs for `__eq__()` method"""
         if type(self) == PyObject and self != self.type: