Permalink
Browse files

timeout

  • Loading branch information...
1 parent 5b5ff69 commit f1d51aa7eb22837d6179b406d9b289d35278871d @kennethreitz committed Dec 23, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 docs/user/quickstart.rst
View
3 docs/user/quickstart.rst
@@ -385,7 +385,8 @@ seconds with the ``timeout`` parameter::
>>> requests.get('http://github.com', timeout=0.001)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
- requests.exceptions.Timeout: Request timed out.
+ requests.exceptions.Timeout: HTTPConnectionPool(host='github.com', port=80): Request timed out. (timeout=0.001)
+
.. admonition:: Note:

0 comments on commit f1d51aa

Please sign in to comment.