summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/futures.py
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2016-10-15 06:41:05 (GMT)
committerINADA Naoki <songofacandy@gmail.com>2016-10-15 06:41:05 (GMT)
commitfa8b8847e20e092cd6fb1610a88a7db1c48406ce (patch)
tree249abac5ec8b43495b7ab8969e7694a800c19c10 /Lib/asyncio/futures.py
parent20e086efc7db911f7088440b17e52881cf53edda (diff)
parent9f2ce2548107eedaf0970546a508c33d24920622 (diff)
downloadcpython-fa8b8847e20e092cd6fb1610a88a7db1c48406ce.zip
cpython-fa8b8847e20e092cd6fb1610a88a7db1c48406ce.tar.gz
cpython-fa8b8847e20e092cd6fb1610a88a7db1c48406ce.tar.bz2
Issue #28428: Rename _futures module to _asyncio. (merge from 3.6)
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.py6
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):