

def _intersect(self, other):
    from sympy.functions.elementary.integers import floor, ceiling
    if ((s is Interval(S.NegativeInfinity, S.Infinity)) or (other is S.Reals)):
        return self
    elif other.is_Interval:
        s = Range(ceiling(other.left), (floor(other.right) + 1))
        return s.intersect(other)
    return None

dataset/ETHPy150Open sympy/sympy/sympy/sets/fancysets.py Integers._intersect/VarMisuse@28/34 `other`->`s`