def _eval_lseries(self, x, logx):
        expr = self.as_dummy()
        symb = x
        for l in expr.limits:
            if x in l[1:]:
                symb = l[0]
                break
        for term in expr.function.lseries(symb, logx):
            yield integrate(term, *expr.limits)
dataset/ETHPy150Open sympy/sympy/sympy/integrals/integrals.py/Integral._eval_lseries/original