parameters: (path, data)
docstring: Writes |data| to a file.
docstring_summary: Writes |data| to a file.
docstring_tokens: Writes |data| to a file .
function: def write_file(path, data):
    """Writes |data| to a file."""
    assert isinstance(path, (list, tuple))
    with open(os.path.join(*path), 'w') as f:
      f.write(data)
function_tokens: def write_file ( path , data ) : assert isinstance ( path , ( list , tuple ) ) with open ( os . path . join ( * path ) , 'w' ) as f : f . write ( data )