File tree Expand file tree Collapse file tree 4 files changed +16
-4
lines changed
Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,10 @@ async def download_all_sites(sites):
1919
2020
2121if __name__ == "__main__" :
22- sites = ["http://www.jython.org" , "http://olympus.realpython.org/dice" ] * 80
22+ sites = [
23+ "http://www.jython.org" ,
24+ "http://olympus.realpython.org/dice" ,
25+ ] * 80
2326 start_time = time .time ()
2427 asyncio .get_event_loop ().run_until_complete (download_all_sites (sites ))
2528 duration = time .time () - start_time
Original file line number Diff line number Diff line change @@ -24,7 +24,10 @@ def download_all_sites(sites):
2424
2525
2626if __name__ == "__main__" :
27- sites = ["http://www.jython.org" , "http://olympus.realpython.org/dice" ] * 80
27+ sites = [
28+ "http://www.jython.org" ,
29+ "http://olympus.realpython.org/dice" ,
30+ ] * 80
2831 start_time = time .time ()
2932 download_all_sites (sites )
3033 duration = time .time () - start_time
Original file line number Diff line number Diff line change @@ -15,7 +15,10 @@ def download_all_sites(sites):
1515
1616
1717if __name__ == "__main__" :
18- sites = ["http://www.jython.org" , "http://olympus.realpython.org/dice" ] * 80
18+ sites = [
19+ "http://www.jython.org" ,
20+ "http://olympus.realpython.org/dice" ,
21+ ] * 80
1922 start_time = time .time ()
2023 download_all_sites (sites )
2124 duration = time .time () - start_time
Original file line number Diff line number Diff line change @@ -26,7 +26,10 @@ def download_all_sites(sites):
2626
2727
2828if __name__ == "__main__" :
29- sites = ["http://www.jython.org" , "http://olympus.realpython.org/dice" ] * 80
29+ sites = [
30+ "http://www.jython.org" ,
31+ "http://olympus.realpython.org/dice" ,
32+ ] * 80
3033 start_time = time .time ()
3134 download_all_sites (sites )
3235 duration = time .time () - start_time
You can’t perform that action at this time.
0 commit comments