Ejemplo n.º 1
0
 def __rpow__(self, other, modulo=None):
     return ops.pow(other, self)
Ejemplo n.º 2
0
 def __ipow__(self, other):
     if in_python_scope():
         return NotImplemented
     self._assign(ops.pow(self, other))
     return self
Ejemplo n.º 3
0
 def __pow__(self, other, modulo=None):
     return ops.pow(self, other)
Ejemplo n.º 4
0
 def __ipow__(self, other):
     self.assign(ops.pow(self, other))
     return self