diff --git a/python/grass/pydispatch/saferef.py b/python/grass/pydispatch/saferef.py index a8eadaa5376..bbbd7dd518d 100644 --- a/python/grass/pydispatch/saferef.py +++ b/python/grass/pydispatch/saferef.py @@ -164,21 +164,6 @@ def __nonzero__(self): __bool__ = __nonzero__ - def __eq__(self, other): - if not isinstance(other, self.__class__): - return False - return self.key == other.key - - def __lt__(self, other): - if not isinstance(other, self.__class__): - return self.__class__.__name__ < other.__class__.__name__ - return self.key < other.key - - def __gt__(self, other): - if not isinstance(other, self.__class__): - return self.__class__.__name__ > other.__class__.__name__ - return self.key > other.key - def __call__(self): """Return a strong reference to the bound method