summaryrefslogtreecommitdiff
path: root/Lib/asyncio/events.py
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-05-11 13:48:16 -0400
committerYury Selivanov <yselivanov@sprymix.com>2015-05-11 13:48:16 -0400
commit90ecfe65e681f6e7f901a101ad1e549e339ea10d (patch)
tree209eb793aba6b6322cdfebe768de1113b9fec3dc /Lib/asyncio/events.py
parenta032e46df64330ec9e6e188d9ea53f594d0a0fbf (diff)
downloadcpython-git-90ecfe65e681f6e7f901a101ad1e549e339ea10d.tar.gz
asyncio: Sync with github 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 3b907c6d96..496075bacf 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):