Skip to content
Myr

Merge pull request #4910 from moy/master

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

get(), request(): fix documentation of 'params'

authored by Nate Prewitt · committed by GitHub · parents c452e3b, c4d7680 · Browse files · 1 file+2 added−2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:requests/api.py+2 added-2 removed
17 unmodified lines
1819 :param method: method for the new :class:`Request` object.20 :param url: URL for the new :class:`Request` object.21 :param params: (optional) Dictionary, list of tuples or bytes to send22 in the body of the :class:`Request`.22 in the query string for the :class:`Request`.23 :param data: (optional) Dictionary, list of tuples, bytes, or file-like24 object to send in the body of the :class:`Request`.25 :param json: (optional) A JSON serializable Python object to send in the body of the :class:`Request`.26 :param headers: (optional) Dictionary of HTTP Headers to send with the :class:`Request`.
37 unmodified lines
64 r"""Sends a GET request.6566 :param url: URL for the new :class:`Request` object.67 :param params: (optional) Dictionary, list of tuples or bytes to send68 in the body of the :class:`Request`.68 in the query string for the :class:`Request`.69 :param \*\*kwargs: Optional arguments that ``request`` takes.70 :return: :class:`Response <Response>` object71 :rtype: requests.Response72 """
86 unmodified lines