Very simple writing in ini format. The simple stringification of each value
    in each Holder is printed, and no escaping is performed. (This is most
    relevant for multiline values or ones containing pound signs.) `None` values are
    skipped.

    Arguments:

    stream
      A text stream to write to.
    holders
      An iterable of objects to write. Their fields will be
      written as sections.
    defaultsection=None
      Section name to use if a holder doesn't contain a
      `section` field.

def write (stream_or_path, holders, **kwargs):
    """Very simple writing in ini format. The simple stringification of each value
    in each Holder is printed, and no escaping is performed. (This is most
    relevant for multiline values or ones containing pound signs.) `None` values are
    skipped.

    Arguments:

    stream
      A text stream to write to.
    holders
      An iterable of objects to write. Their fields will be
      written as sections.
    defaultsection=None
      Section name to use if a holder doesn't contain a
      `section` field.

    """
    if isinstance (stream_or_path, six.string_types):
        return write_stream (io.open (stream_or_path, 'wt'), holders, **kwargs)
    else:
        return write_stream (stream_or_path, holders, **kwargs)