(func, path, _)
Clear the readonly bit and reattempt the removal
Clear the readonly bit and reattempt the removal
Clear the readonly bit and reattempt the removal
def remove_readonly(func, path, _):
    "Clear the readonly bit and reattempt the removal"
    os.chmod(path, stat.S_IWRITE)
    func(path)
def remove_readonly ( func , path , _ ) : os . chmod ( path , stat . S_IWRITE ) func ( path )