Skip to content
Myr

Update src/requests/models.py

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 b25f2b5 · Browse files · 1 file+3 added−1 removed
This commit

State

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

Trailers

  • Co-authored-by: Ian Stapleton Cordasco <graffatcolmingov@gmail.com>

Diff stats

1 file+3 added−1 removed

  • other:+3 added−1 removed

1 file+3 added−1 removed

modified:src/requests/models.py+3 added-1 removed
943 unmodified lines
944945 return content946947 def json(self, **kwargs):948 r"""Returns the json-decoded dict of a response, if any.948 r"""Decodes the JSON response body (if any) as a Python object.949950 This may return a dictionary, list, etc. depending on what is in the response.951952 :param \*\*kwargs: Optional arguments that ``json.loads`` takes.953 :raises requests.exceptions.JSONDecodeError: If the response body does not954 contain valid json.955 """
84 unmodified lines