Example #1
0
 def __rmod__(self, other):
     return ops.mod(other, self)
Example #2
0
 def __imod__(self, other):
     if in_python_scope():
         return NotImplemented
     self._assign(ops.mod(self, other))
     return self
Example #3
0
 def __mod__(self, other):
     return ops.mod(self, other)
Example #4
0
 def __imod__(self, other):
     self.assign(ops.mod(self, other))
     return self