def _invert(f_x, y, x, domain=S.Complexes):
    x = sympify(x)
    if not x.is_Symbol:
        raise ValueError("x must be a symbol")
    f_x = sympify(f_x)
    if not f_x.has(x):
        raise ValueError("Inverse of constant function doesn't exist")
    y = sympify(y)
    if y.has(x):
        raise ValueError("y should be independent of x ")

    if domain.is_subset(S.Reals):
        x, s = _invert_real(f_x, FiniteSet(y), x)
    else:
        x, s = _invert_complex(f_x, FiniteSet(y), x)
    return x, s.intersection(domain) if isinstance(s, FiniteSet) else s
Try to parse multiple C{TP} fields.
dataset/ETHPy150Open sympy/sympy/sympy/solvers/solveset.py/_invert--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/lore/test/test_man2lore.py/ManConverterTestCase.test_TPMultipleOptions