def _limit_inf(expr, n):
    try:
        return Limit(expr, n, S.Infinity).doit(deep=False, sequence=False)
    except (__HOLE__, PoleError):
        return None
dataset/ETHPy150Open sympy/sympy/sympy/series/limitseq.py/_limit_inf