Home | History | Annotate | Download | only in Lib

Lines Matching refs:operator

9 import operator
296 operator and a function from the operator module.
299 __op__, __rop__ = _operator_fallbacks(just_rational_op, operator.op)
407 __add__, __radd__ = _operator_fallbacks(_add, operator.add)
415 __sub__, __rsub__ = _operator_fallbacks(_sub, operator.sub)
421 __mul__, __rmul__ = _operator_fallbacks(_mul, operator.mul)
428 __truediv__, __rtruediv__ = _operator_fallbacks(_div, operator
612 return a._richcmp(b, operator.lt)
616 return a._richcmp(b, operator.gt)
620 return a._richcmp(b, operator.le)
624 return a._richcmp(b, operator.ge)