Skip to content

Commit e90852d

Browse files
authored
Make json doc strings consistent (#6368)
1 parent ec78348 commit e90852d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

requests/api.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def post(url, data=None, json=None, **kwargs):
106106
:param url: URL for the new :class:`Request` object.
107107
:param data: (optional) Dictionary, list of tuples, bytes, or file-like
108108
object to send in the body of the :class:`Request`.
109-
:param json: (optional) json data to send in the body of the :class:`Request`.
109+
:param json: (optional) A JSON serializable Python object to send in the body of the :class:`Request`.
110110
:param \*\*kwargs: Optional arguments that ``request`` takes.
111111
:return: :class:`Response <Response>` object
112112
:rtype: requests.Response
@@ -121,7 +121,7 @@ def put(url, data=None, **kwargs):
121121
:param url: URL for the new :class:`Request` object.
122122
:param data: (optional) Dictionary, list of tuples, bytes, or file-like
123123
object to send in the body of the :class:`Request`.
124-
:param json: (optional) json data to send in the body of the :class:`Request`.
124+
:param json: (optional) A JSON serializable Python object to send in the body of the :class:`Request`.
125125
:param \*\*kwargs: Optional arguments that ``request`` takes.
126126
:return: :class:`Response <Response>` object
127127
:rtype: requests.Response
@@ -136,7 +136,7 @@ def patch(url, data=None, **kwargs):
136136
:param url: URL for the new :class:`Request` object.
137137
:param data: (optional) Dictionary, list of tuples, bytes, or file-like
138138
object to send in the body of the :class:`Request`.
139-
:param json: (optional) json data to send in the body of the :class:`Request`.
139+
:param json: (optional) A JSON serializable Python object to send in the body of the :class:`Request`.
140140
:param \*\*kwargs: Optional arguments that ``request`` takes.
141141
:return: :class:`Response <Response>` object
142142
:rtype: requests.Response

0 commit comments

Comments
 (0)