Skip to content

Commit

Permalink
[#3390] docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Jan 6, 2017
1 parent e5605d9 commit 87eea9b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ckanext/datastore/writer.py
Expand Up @@ -20,7 +20,7 @@ def csv_writer(response, columns, name=None, bom=False):
:param name: file name (for headers, response-like objects only)
:param bom: True to include a UTF-8 BOM at the start of the file
>>> with csv_writer(response, fields) as d:
>>> with csv_writer(response, columns) as d:
>>> d.writerow(row1)
>>> d.writerow(row2)
'''
Expand Down Expand Up @@ -48,7 +48,7 @@ def tsv_writer(response, columns, name=None, bom=False):
:param name: file name (for headers, response-like objects only)
:param bom: True to include a UTF-8 BOM at the start of the file
>>> with tsv_writer(response, fields) as d:
>>> with tsv_writer(response, columns) as d:
>>> d.writerow(row1)
>>> d.writerow(row2)
'''
Expand Down Expand Up @@ -78,7 +78,7 @@ def json_writer(response, columns, name=None, bom=False):
:param name: file name (for headers, response-like objects only)
:param bom: True to include a UTF-8 BOM at the start of the file
>>> with json_writer(response, fields) as d:
>>> with json_writer(response, columns) as d:
>>> d.writerow(row1)
>>> d.writerow(row2)
'''
Expand Down Expand Up @@ -126,7 +126,7 @@ def xml_writer(response, columns, name=None, bom=False):
:param name: file name (for headers, response-like objects only)
:param bom: True to include a UTF-8 BOM at the start of the file
>>> with xml_writer(response, fields) as d:
>>> with xml_writer(response, columns) as d:
>>> d.writerow(row1)
>>> d.writerow(row2)
'''
Expand Down

0 comments on commit 87eea9b

Please sign in to comment.