(wheelname, new_tag)
return '-'.join(parts)
Replace the Python tag in a wheel file name with a new value.
Replace the Python tag in a wheel file name with a new value.
Replace the Python tag in a wheel file name with a new value .
def replace_python_tag(wheelname, new_tag):
    # type: (str, str) -> str
    """Replace the Python tag in a wheel file name with a new value.
    """
    parts = wheelname.split('-')
    parts[-3] = new_tag
    return '-'.join(parts)
def replace_python_tag ( wheelname , new_tag ) : # type: (str, str) -> str parts = wheelname . split ( '-' ) parts [ - 3 ] = new_tag return '-' . join ( parts )