Пример #1
0
 def __ge__(self, other):
     return Comparison('>=', self, self._to_operand(other))
Пример #2
0
 def __gt__(self, other: Any) -> Comparison:
     return Comparison('>', self, self._to_operand(other))
Пример #3
0
 def __lt__(self, other):
     return Comparison('<', self, self._to_operand(other))
Пример #4
0
 def __ne__(self, other: Any) -> Comparison:  # type: ignore
     return Comparison('<>', self, self._to_operand(other))