def __div__(self, other):
        other = sympify(other)
        if isinstance(other, TensExpr):
            raise ValueError('cannot divide by a tensor')
        return TensAdd(*(x/other for x in self.args))
dataset/ETHPy150Open sympy/sympy/sympy/tensor/tensor.py/TensAdd.__div__/original