diff options
Diffstat (limited to 'py/python/Ice.py')
-rw-r--r-- | py/python/Ice.py | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/py/python/Ice.py b/py/python/Ice.py index 32d9696314f..3afd16263f8 100644 --- a/py/python/Ice.py +++ b/py/python/Ice.py @@ -976,39 +976,6 @@ def Identity__str__(self): Identity.__str__ = Identity__str__ del Identity__str__ -def Identity__lt__(self, other): - if self.category < other.category: - return True - elif self.category == other.category: - return self.name < other.name - return False -Identity.__lt__ = Identity__lt__ -del Identity__lt__ - -def Identity__le__(self, other): - return self.__lt__(other) or self.__eq__(other) -Identity.__le__ = Identity__le__ -del Identity__le__ - -def Identity__ne__(self, other): - return not self.__eq__(other) -Identity.__ne__ = Identity__ne__ -del Identity__ne__ - -def Identity__gt__(self, other): - if self.category > other.category: - return True - elif self.category == other.category: - return self.name > other.name - return False -Identity.__gt__ = Identity__gt__ -del Identity__gt__ - -def Identity__ge__(self, other): - return self.__gt__(other) or self.__eq__(other) -Identity.__ge__ = Identity__ge__ -del Identity__ge__ - # # Annotate some exceptions. # |