Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions grequests.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def send(self, **kwargs):
finally:
if self._close:
# if we provided the session object, make sure we're cleaning up
# because there's no sense in keeping it open at this point if it wont be reused
# because there's no sense in keeping it open at this point if it won't be reused
self.session.close()
return self

Expand Down Expand Up @@ -114,7 +114,7 @@ def map(requests, stream=False, size=None, exception_handler=None, gtimeout=None
:param requests: a collection of Request objects.
:param stream: If True, the content will not be downloaded immediately.
:param size: Specifies the number of requests to make at a time. If None, no throttling occurs.
:param exception_handler: Callback function, called when exception occured. Params: Request, Exception
:param exception_handler: Callback function, called when exception occurred. Params: Request, Exception
:param gtimeout: Gevent joinall timeout in seconds. (Note: unrelated to requests timeout)
"""

Expand Down