def _parse_version(version_string):
    version = []
    for x in version_string.split('.'):
        try:
            version.append(int(x))
        except __HOLE__:
            # x may be of the form dev-1ea1592
            version.append(x)
    return tuple(version)
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/utils/fixes.py/_parse_version