projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fa9799
)
Clearer description of Response.close().
author
Cory Benfield
<lukasaoz@gmail.com>
Mon, 28 Apr 2014 18:42:30 +0000
(19:42 +0100)
committer
Cory Benfield
<lukasaoz@gmail.com>
Mon, 28 Apr 2014 18:42:30 +0000
(19:42 +0100)
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index 7390d1c669523c6e378910d1ea8b67c7f017aaa8..f5afebc890da324a7f51bdafee585e57bac51e42 100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-791,8
+791,8
@@
class Response(object):
raise HTTPError(http_error_msg, response=self)
def close(self):
- """
Closes the underlying file descriptor and releases the connectio
n
-
back to the pool
.
+ """
Releases the connection back to the pool. Once this method has bee
n
+
called the underlying ``raw`` object must not be accessed again
.
*Note: Should not normally need to be called explicitly.*
"""