1. Naoki INADA
  2. rope_py3k


Ali Gholami Rudi  committed 6ed5486

pyobjects: __ne__ should be implemented

  • Participants
  • Parent commits 9af297b
  • Branches trunk

Comments (0)

Files changed (1)

File rope/base/pyobjects.py

View file
                 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: