Updated json function docstrings to be more consistent.

This commit is contained in:
Sean Parsons 2016-12-25 01:06:40 -05:00
parent 2b10860c32
commit a486fb99a9

View File

@ -140,7 +140,7 @@ class HTTPResponse:
def json(body, status=200, headers=None): def json(body, status=200, headers=None):
""" """
Returns serialized python object to json format. Returns body in json format.
:param body: Response data to be serialized. :param body: Response data to be serialized.
:param status: Response code. :param status: Response code.
:param headers: Custom Headers. :param headers: Custom Headers.