summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/events.py
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2016-05-16 19:38:39 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2016-05-16 19:38:39 (GMT)
commit7661db622892c9731c502ccdd7af130cbfd23f5c (patch)
tree3d0d940b0a5a26a1a89e27f6e4969ae612a9cb9b /Lib/asyncio/events.py
parent7ed7ce6ee76c1e4aaa94151f156fb2ba5163b5b2 (diff)
downloadcpython-7661db622892c9731c502ccdd7af130cbfd23f5c.zip
cpython-7661db622892c9731c502ccdd7af130cbfd23f5c.tar.gz
cpython-7661db622892c9731c502ccdd7af130cbfd23f5c.tar.bz2
Issue #27041: asyncio: Add loop.create_future method
Diffstat (limited to 'Lib/asyncio/events.py')
-rw-r--r--Lib/asyncio/events.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py
index 8358ebf..c48c5be 100644
--- a/Lib/asyncio/events.py
+++ b/Lib/asyncio/events.py
@@ -266,6 +266,9 @@ class AbstractEventLoop:
def time(self):
raise NotImplementedError
+ def create_future(self):
+ raise NotImplementedError
+
# Method scheduling a coroutine object: create a task.
def create_task(self, coro):