Skip to content

Commit

Permalink
Fix documentation style
Browse files Browse the repository at this point in the history
Split long documentation lines
  • Loading branch information
bzar committed Oct 17, 2018
1 parent 08db954 commit 128fcc1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ckan/views/api.py
Expand Up @@ -44,7 +44,8 @@ def _finish(status_int, response_data=None,
:param status_int: The HTTP status code to return
:type status_int: int
:param response_data: The body of the response
:type response_data: object if content_type is `text` or `json`, a string otherwise
:type response_data: object if content_type is `text` or `json`,
a string otherwise
:param content_type: One of `text`, `html` or `json`. Defaults to `text`
:type content_type: string
:param headers: Extra headers to serve with the response
Expand Down Expand Up @@ -82,7 +83,8 @@ def _finish_ok(response_data=None,
calling this method will prepare the response.
:param response_data: The body of the response
:type response_data: object if content_type is `text` or `json`, a string otherwise
:type response_data: object if content_type is `text` or `json`,
a string otherwise
:param content_type: One of `text`, `html` or `json`. Defaults to `json`
:type content_type: string
:param resource_location: Specify this if a new resource has just been
Expand Down

0 comments on commit 128fcc1

Please sign in to comment.