Skip to content
Myr

Update models.Response.json docstring clearer

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by anupam-arista · committed by GitHub · parent 8812812 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/requests/models.py+1 added-1 removed
938 unmodified lines
939940 return content941942 def json(self, **kwargs):943 r"""Returns the json-encoded content of a response, if any.943 r"""Returns the json-decoded dict of a response, if any.944945 :param \*\*kwargs: Optional arguments that ``json.loads`` takes.946 :raises requests.exceptions.JSONDecodeError: If the response body does not947 contain valid json.
85 unmodified lines