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