code: def write_yaml(filename, content):
      '''
      Writes YAML files
  
      :param filename:
          The full path to the YAML file
      :param content:
          The content to dump
      :returns:
          The size written
      '''
  
      y = _yaml.dump(content, indent=4, default_flow_style=False)
      if y:
          return write_file(filename, yf write_yaml(filename, content):
      '''
      Writes YAML files
  
      :param filename:
          The full path to the YAML file
      :param content:
          The content to dump
      :returns:
          The size written
      '''
  
      y = _yaml.dump(content, indent=4, default_flow_style=False)
      if y:
          return write_file(filename, y)
docs: Writes YAML files
  
      :param filename:
          The full path to the YAML file
      :param content:
          The content to dump
      :returns:
          The size written