diff options
author | Inada Naoki <methane@users.noreply.github.com> | 2019-02-05 08:04:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-05 08:04:40 (GMT) |
commit | f34517094049170acc311bac30f68fa67f27a301 (patch) | |
tree | 305941bdc482ca3f266af19e49716608688a1179 | |
parent | 9da3583e78603a81b1839e17a420079f734a75b0 (diff) | |
download | cpython-f34517094049170acc311bac30f68fa67f27a301.zip cpython-f34517094049170acc311bac30f68fa67f27a301.tar.gz cpython-f34517094049170acc311bac30f68fa67f27a301.tar.bz2 |
asyncio: use dict instead of OrderedDict (GH-11710)
-rw-r--r-- | Lib/asyncio/base_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py index cec47ce..36fe7e0 100644 --- a/Lib/asyncio/base_events.py +++ b/Lib/asyncio/base_events.py @@ -1187,7 +1187,7 @@ class BaseEventLoop(events.AbstractEventLoop): (local_addr, remote_addr)), ) else: # join address by (family, protocol) - addr_infos = collections.OrderedDict() + addr_infos = {} # Using order preserving dict for idx, addr in ((0, local_addr), (1, remote_addr)): if addr is not None: assert isinstance(addr, tuple) and len(addr) == 2, ( |