code: def totsv(table, source=None, encoding=None, errors='strict',
            write_header=True, **csvargs):
      
  
      csvargs.setdefault('dialect', 'excel-tab')
      return tocsv(table, source=source, encoding=encoding, errors=errors,
                   write_header=write_header, **csvargs)
docs: Convenience function, as :func:`petl.io.csv.tocsv` but with different
      default dialect (tab delimited).