(z)
return False
Check if either real or imaginary part is infinite
Check if either real or imaginary part is infinite
Check if either real or imaginary part is infinite
def mpc_is_inf(z):
    """Check if either real or imaginary part is infinite"""
    re, im = z
    if re in _infs: return True
    if im in _infs: return True
    return False
def mpc_is_inf ( z ) : re , im = z if re in _infs : return True if im in _infs : return True return False