def number_try_parse(str):
    for func in (int, float):
        try:
            return func(str)
        except __HOLE__:
            pass

    return str
dataset/ETHPy150Open membase/membase-cli/pump_csv.py/number_try_parse