mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
More useful docstring.
This commit is contained in:
+1
-1
@@ -487,7 +487,7 @@ class Response(object):
|
||||
return self.ok
|
||||
|
||||
def __iter__(self):
|
||||
"""Returns the current object."""
|
||||
"""Allows you to use a response as an iterator."""
|
||||
return self.iter_content(128)
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user