summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/events.py
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-05-11 18:23:38 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-05-11 18:23:38 (GMT)
commit740169cd24fc108913e4480e98e608f0517a7b8a (patch)
treebf801141261edb778f7957aa777343a6c8cd1978 /Lib/asyncio/events.py
parent37c4f78390ae3f2c839b44939446f783b948d9d3 (diff)
downloadcpython-740169cd24fc108913e4480e98e608f0517a7b8a.zip
cpython-740169cd24fc108913e4480e98e608f0517a7b8a.tar.gz
cpython-740169cd24fc108913e4480e98e608f0517a7b8a.tar.bz2
Sync asyncio changes from the main repo.
Diffstat (limited to 'Lib/asyncio/events.py')
-rw-r--r--Lib/asyncio/events.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py
index 3b907c6..496075b 100644
--- a/Lib/asyncio/events.py
+++ b/Lib/asyncio/events.py
@@ -277,7 +277,7 @@ class AbstractEventLoop:
def call_soon_threadsafe(self, callback, *args):
raise NotImplementedError
- def run_in_executor(self, executor, callback, *args):
+ def run_in_executor(self, executor, func, *args):
raise NotImplementedError
def set_default_executor(self, executor):
@@ -438,6 +438,14 @@ class AbstractEventLoop:
def remove_signal_handler(self, sig):
raise NotImplementedError
+ # Task factory.
+
+ def set_task_factory(self, factory):
+ raise NotImplementedError
+
+ def get_task_factory(self):
+ raise NotImplementedError
+
# Error handlers.
def set_exception_handler(self, handler):