summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2020-05-11 13:25:20 -0400
committerJordan Wiens <jordan@psifertex.com>2020-05-11 13:25:20 -0400
commit2d8a6cce23a3a4e19379a19b63e690ffce6748d8 (patch)
tree174ef1953ac92c22a720c201e6e9e88662f16e67 /python
parentf8cc3f77d03ddc20c7ce7b9765ead144d88c6ae3 (diff)
re-add deleted ge with the proper name
Diffstat (limited to 'python')
-rw-r--r--python/architecture.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/architecture.py b/python/architecture.py
index 014de6ad..3f811412 100644
--- a/python/architecture.py
+++ b/python/architecture.py
@@ -2765,6 +2765,11 @@ class ReferenceSource(object):
return NotImplemented
return self.address > other.address
+ def __ge__(self, other):
+ if not isinstance(other, self.__class__):
+ return NotImplemented
+ return self.address >= other.address
+
def __le__(self, other):
if not isinstance(other, self.__class__):
return NotImplemented