summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2016-08-08 00:10:39 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2016-08-08 00:10:39 (GMT)
commit4365b8302db6e100e3ad4bddf891c8a4e747c5c1 (patch)
treea1b0409937a0b74f1b28deb37c9f3c5fd6e73c8c /Python
parent9854789efec0c707fff871b32b2833f32b078fb3 (diff)
downloadcpython-4365b8302db6e100e3ad4bddf891c8a4e747c5c1.zip
cpython-4365b8302db6e100e3ad4bddf891c8a4e747c5c1.tar.gz
cpython-4365b8302db6e100e3ad4bddf891c8a4e747c5c1.tar.bz2
Use asyncio.gather instead of asyncio.wait in example.
gather will raise exception in case of problem but wait just returns done and pending lists of futures. For getting error every future result should be retrieved, which is boring and error prone.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions