def Convert2StrBoolCoordNum(text):
    """converts text to python type in order
       Boolean, Int, Float, complex or double quoted string
       ValueError if can't
    """

    if REO_Quoted.match(text): #text is double quoted string
        return text.strip('"')  #strip off quotes

    if REO_QuotedSingle.match(text): #text is single quoted string
        return text.strip("'")  #strip off quotes

    try:
        return (Convert2BoolCoordNum(text))
    except __HOLE__:
        raise ValueError("Expected StrBoolNum got '{0}'".format(text))

    return None
dataset/ETHPy150Open ioflo/ioflo/ioflo/base/building.py/Convert2StrBoolCoordNum