diff options
author | INADA Naoki <songofacandy@gmail.com> | 2016-10-15 06:39:19 (GMT) |
---|---|---|
committer | INADA Naoki <songofacandy@gmail.com> | 2016-10-15 06:39:19 (GMT) |
commit | 9f2ce2548107eedaf0970546a508c33d24920622 (patch) | |
tree | 2a410ccb15a3acb857985a3ce15e71fc7bdc3cda /Lib/asyncio/futures.py | |
parent | 479eb760f4dd5ae5cfc5ccf8a361cdea3d48624a (diff) | |
download | cpython-9f2ce2548107eedaf0970546a508c33d24920622.zip cpython-9f2ce2548107eedaf0970546a508c33d24920622.tar.gz cpython-9f2ce2548107eedaf0970546a508c33d24920622.tar.bz2 |
Issue #28428: Rename _futures module to _asyncio.
It will have more speedup functions or classes other than asyncio.Future.
Diffstat (limited to 'Lib/asyncio/futures.py')
-rw-r--r-- | Lib/asyncio/futures.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/asyncio/futures.py b/Lib/asyncio/futures.py index 7c5b1aa..87ae30a 100644 --- a/Lib/asyncio/futures.py +++ b/Lib/asyncio/futures.py @@ -432,18 +432,18 @@ def _copy_future_state(source, dest): try: - import _futures + import _asyncio except ImportError: pass else: - _futures._init_module( + _asyncio._init_module( traceback.extract_stack, events.get_event_loop, _future_repr_info, InvalidStateError, CancelledError) - Future = _futures.Future + Future = _asyncio.Future def _chain_future(source, destination): |