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