

def get_tuple_version(version=None):
    version = (version or get_version())
    return tuple(map((lambda n: int(n)), version.split('.')))

dataset/ETHPy150Open awesto/django-shop/shop/apps.py get_tuple_version/original