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