Skip to content

Commit 418c1d9

Browse files
committed
update docs for timeout arguments to clarify that it uses seconds
1 parent d58d8aa commit 418c1d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/requests/adapters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def send(
123123
124124
:param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
125125
:param stream: (optional) Whether to stream the request content.
126-
:param timeout: (optional) How long to wait for the server to send
126+
:param timeout: (optional) How many seconds to wait for the server to send
127127
data before giving up, as a float, or a :ref:`(connect timeout,
128128
read timeout) <timeouts>` tuple.
129129
:type timeout: float or tuple
@@ -594,7 +594,7 @@ def send(
594594
595595
:param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
596596
:param stream: (optional) Whether to stream the request content.
597-
:param timeout: (optional) How long to wait for the server to send
597+
:param timeout: (optional) How many seconds to wait for the server to send
598598
data before giving up, as a float, or a :ref:`(connect timeout,
599599
read timeout) <timeouts>` tuple.
600600
:type timeout: float or tuple or urllib3 Timeout object

0 commit comments

Comments
 (0)