summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/base_events.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-02-09 23:45:44 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-02-09 23:45:44 (GMT)
commitdc62b7e261ab88b4ab967ac2ae307eddbfa0ae09 (patch)
tree0c8878ba52ef21fb7058545b9ca62d1838cf9ccd /Lib/asyncio/base_events.py
parent136fea253e438a0db6a1d24d3c23f02fcb64b7c4 (diff)
downloadcpython-dc62b7e261ab88b4ab967ac2ae307eddbfa0ae09.zip
cpython-dc62b7e261ab88b4ab967ac2ae307eddbfa0ae09.tar.gz
cpython-dc62b7e261ab88b4ab967ac2ae307eddbfa0ae09.tar.bz2
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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py
index db57ee8..558406c 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