コード例 #1
0
ファイル: common_ops.py プロジェクト: taichi-dev/taichi
 def __rtruediv__(self, other):
     return ops.truediv(other, self)
コード例 #2
0
ファイル: common_ops.py プロジェクト: taichi-dev/taichi
 def __itruediv__(self, other):
     if in_python_scope():
         return NotImplemented
     self._assign(ops.truediv(self, other))
     return self
コード例 #3
0
ファイル: common_ops.py プロジェクト: taichi-dev/taichi
 def __truediv__(self, other):
     return ops.truediv(self, other)
コード例 #4
0
 def __itruediv__(self, other):
     self.assign(ops.truediv(self, other))
     return self