diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-02-10 00:45:44 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-02-10 00:45:44 +0100 |
commit | dc62b7e261ab88b4ab967ac2ae307eddbfa0ae09 (patch) | |
tree | 0c8878ba52ef21fb7058545b9ca62d1838cf9ccd /Lib/asyncio/base_events.py | |
parent | 136fea253e438a0db6a1d24d3c23f02fcb64b7c4 (diff) | |
download | cpython-git-dc62b7e261ab88b4ab967ac2ae307eddbfa0ae09.tar.gz |
asyncio: Tulip issue 112: Inline make_handle() into Handle constructor
Diffstat (limited to 'Lib/asyncio/base_events.py')
-rw-r--r-- | Lib/asyncio/base_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py index db57ee865a..558406c272 100644 --- a/Lib/asyncio/base_events.py +++ b/Lib/asyncio/base_events.py @@ -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 |