summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2016-02-11 20:20:20 +0200
committerVille Skyttä <ville.skytta@iki.fi>2016-02-11 20:20:20 +0200
commitd52244354ba4b8bfeee7967621d57ac3057e5fcb (patch)
tree497bc50f7ae67c4b94ca9b27179d5c08aa4610b5
parent908f30274172340c35baf851c7557cdf0382ad6a (diff)
downloadurllib3-d52244354ba4b8bfeee7967621d57ac3057e5fcb.tar.gz
Fix comment about response closing connection
-rw-r--r--urllib3/connectionpool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/urllib3/connectionpool.py b/urllib3/connectionpool.py
index 5a9d766a..2d234e46 100644
--- a/urllib3/connectionpool.py
+++ b/urllib3/connectionpool.py
@@ -568,7 +568,7 @@ class HTTPConnectionPool(ConnectionPool, RequestMethods):
chunked=chunked)
# If we're going to release the connection in ``finally:``, then
- # the request doesn't need to know about the connection. Otherwise
+ # the response doesn't need to know about the connection. Otherwise
# it will also try to release it and we'll have a double-release
# mess.
response_conn = conn if not release_conn else None