mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
gh-128308: pass **kwargs
to asyncio task_factory (#128768)
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
This commit is contained in:
parent
6c914bf85c
commit
38a9956876
8 changed files with 48 additions and 29 deletions
|
@ -329,7 +329,7 @@ class AbstractEventLoop:
|
|||
|
||||
# Method scheduling a coroutine object: create a task.
|
||||
|
||||
def create_task(self, coro, *, name=None, context=None):
|
||||
def create_task(self, coro, **kwargs):
|
||||
raise NotImplementedError
|
||||
|
||||
# Methods for interacting with threads.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue