asyncio: Tulip issue 112: Inline make_handle() into Handle constructor

This commit is contained in:
Victor Stinner 2014-02-10 00:45:44 +01:00
parent 136fea253e
commit dc62b7e261
6 changed files with 9 additions and 14 deletions

View file

@ -64,7 +64,7 @@ class _UnixSelectorEventLoop(selector_events.BaseSelectorEventLoop):
except ValueError as exc:
raise RuntimeError(str(exc))
handle = events.make_handle(callback, args)
handle = events.Handle(callback, args)
self._signal_handlers[sig] = handle
try: