예제 #1
0
 def __rtruediv__(self, other):
     return ops.truediv(other, self)
예제 #2
0
 def __itruediv__(self, other):
     if in_python_scope():
         return NotImplemented
     self._assign(ops.truediv(self, other))
     return self
예제 #3
0
 def __truediv__(self, other):
     return ops.truediv(self, other)
예제 #4
0
 def __itruediv__(self, other):
     self.assign(ops.truediv(self, other))
     return self