From 12862617df7391a87f30d5bc30fffbcfd8fa3761 Mon Sep 17 00:00:00 2001 From: anupam-arista <118899211+anupam-arista@users.noreply.github.com> Date: Thu, 14 Sep 2023 14:29:37 +0530 Subject: [PATCH] Update models.Response.json docstring clearer --- src/requests/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/requests/models.py b/src/requests/models.py index 44556394ec..b521474926 100644 --- a/src/requests/models.py +++ b/src/requests/models.py @@ -940,7 +940,7 @@ def text(self): return content def json(self, **kwargs): - r"""Returns the json-encoded content of a response, if any. + r"""Returns the json-decoded dict of a response, if any. :param \*\*kwargs: Optional arguments that ``json.loads`` takes. :raises requests.exceptions.JSONDecodeError: If the response body does not