def _version_from_version_info(version_info):
    v = str(version_info[0])
    state_dot_join = True
    for i in version_info[1:]:
        if state_dot_join:
            try:
                int(i)
            except __HOLE__:
                state_dot_join = False
            else:
                pass
        if state_dot_join:
            v += "." + str(i)
        else:
            v += str(i)
    return v
dataset/ETHPy150Open an0/Letterpress/code/markdown2/tools/cutarelease.py/_version_from_version_info