parameters: (buf, lines)
docstring: Appends lines to a buffer.
      Parameters
      ----------
      buf
          The buffer to write to
      lines
          The lines to append.
docstring_summary: Appends lines to a buffer.
      Parameters
      ----------
      buf
          The buffer to write to
      lines
          The lines to append.
docstring_tokens: Appends lines to a buffer . Parameters ---------- buf The buffer to write to lines The lines to append .
function: def buffer_write_lines(buf, lines):
      """
      Appends lines to a buffer.
      Parameters
      ----------
      buf
          The buffer to write to
      lines
          The lines to append.
      """
      if any(isinstance(x, str) for x in lines):
          lines = [str(x) for x in lines]
      buf.write("\n".join(lines))
function_tokens: def buffer_write_lines ( buf , lines ) : if any ( isinstance ( x , str ) for x in lines ) : lines = [ str ( x ) for x in lines ] buf . write ( "\n" . join ( lines ) )