Exemple #1
0
 def __rmul__(self, other):
     return ops.mul(other, self)
Exemple #2
0
 def __imul__(self, other):
     if in_python_scope():
         return NotImplemented
     self._assign(ops.mul(self, other))
     return self
Exemple #3
0
 def __mul__(self, other):
     return ops.mul(self, other)
Exemple #4
0
 def __imul__(self, other):
     self.assign(ops.mul(self, other))
     return self