def _print(self):
        indices = [str(ind) for ind in self.indices]
        component = self.component
        if component.rank > 0:
            return ('%s(%s)' % (component.name, ', '.join(indices)))
        else:
            return ('%s' % component.name)
dataset/ETHPy150Open sympy/sympy/sympy/tensor/tensor.py/Tensor._print/original