Codebase list python-grequests / dafe1a7
update readme examples to Python 3.x Spencer Phillip Young authored 4 years ago GitHub committed 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
4747 .. code-block:: python
4848
4949 >>> def exception_handler(request, exception):
50 ... print "Request failed"
50 ... print("Request failed")
5151
5252 >>> reqs = [
5353 ... grequests.get('http://httpbin.org/delay/1', timeout=0.001),