Merge pull request #2229 from leonelcamara/patch-32

__lt__ and __gt__ for lazyT
This commit is contained in:
mdipierro
2019-07-15 22:00:13 -07:00
committed by GitHub
+6
View File
@@ -392,6 +392,12 @@ class lazyT(object):
def __eq__(self, other):
return str(self) == str(other)
def __lt__(self, other):
return str(self) < str(other)
def __gt__(self, other):
return str(self) > str(other)
def __ne__(self, other):
return str(self) != str(other)