mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
asyncio: Tulip issue 112: Inline make_handle() into Handle constructor
This commit is contained in:
parent
136fea253e
commit
dc62b7e261
6 changed files with 9 additions and 14 deletions
|
@ -240,7 +240,7 @@ class BaseEventLoop(events.AbstractEventLoop):
|
|||
Any positional arguments after the callback will be passed to
|
||||
the callback when it is called.
|
||||
"""
|
||||
handle = events.make_handle(callback, args)
|
||||
handle = events.Handle(callback, args)
|
||||
self._ready.append(handle)
|
||||
return handle
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue