'Converts given subset of real numbers to a complex region.
Examples
>>> from sympy import Interval, ComplexRegion
>>> unit = Interval(0,1)
>>> ComplexRegion.from_real(unit)
ComplexRegion(Interval(0, 1) x {0}, False)'

@classmethod
def from_real(cls, sets):

    if (not sets.is_subset(S.Reals)):
        raise ValueError('sets    must    be    a    subset    of    the    real    line')
    return cls((sets * FiniteSet(0)))
