(check_name, old_ver, new_ver)
Change the Python code in the __about__.py module so that `__version__`
    contains the new value.
Change the Python code in the __about__.py module so that `__version__`
    contains the new value.
Change the Python code in the __about__ . py module so that __version__ contains the new value .
def update_version_module(check_name, old_ver, new_ver):
    """
    Change the Python code in the __about__.py module so that `__version__`
    contains the new value.
    """
    version_file = get_version_file(check_name)
    contents = read_file(version_file)

    contents = contents.replace(old_ver, new_ver)
    write_file(version_file, contents)
def update_version_module ( check_name , old_ver , new_ver ) : version_file = get_version_file ( check_name ) contents = read_file ( version_file ) contents = contents . replace ( old_ver , new_ver ) write_file ( version_file , contents )