From a02069ec9e0593f136e40783a8ea98e64968d32b Mon Sep 17 00:00:00 2001 From: Carson Lam Date: Fri, 29 Jan 2016 15:30:22 -0800 Subject: [PATCH] Remove int type on max_retries argument. --- requests/adapters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requests/adapters.py b/requests/adapters.py index 6266d5be..4f2b23cf 100644 --- a/requests/adapters.py +++ b/requests/adapters.py @@ -65,7 +65,7 @@ class HTTPAdapter(BaseAdapter): :param pool_connections: The number of urllib3 connection pools to cache. :param pool_maxsize: The maximum number of connections to save in the pool. - :param int max_retries: The maximum number of retries each connection + :param max_retries: The maximum number of retries each connection should attempt. Note, this applies only to failed DNS lookups, socket connections and connection timeouts, never to requests where data has made it to the server. By default, Requests does not retry failed