mirror of
https://github.com/python/cpython.git
synced 2025-11-24 20:30:18 +00:00
asyncio: Sync with github repo
This commit is contained in:
parent
a032e46df6
commit
90ecfe65e6
5 changed files with 110 additions and 36 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue