fix docstring formatting of tensor_product()