Skip to content

Commit 5a1f7d6

Browse files
committed
yapf
1 parent 35ac071 commit 5a1f7d6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

trio_asyncio/_base.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,7 @@ def call_at(self, when, callback, *args, **context):
304304
Note that the callback is a sync function.
305305
"""
306306
self._check_callback(callback, 'call_at')
307-
return self._queue_handle(
308-
asyncio.TimerHandle(when, callback, args, self, **context)
309-
)
307+
return self._queue_handle(asyncio.TimerHandle(when, callback, args, self, **context))
310308

311309
def call_soon(self, callback, *args, **context):
312310
"""asyncio's defer-to-mainloop callback executor.

trio_asyncio/_handles.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def __init__(self, *args, result_future=None, **kw):
6969
self._fut = result_future
7070
self._started = trio.Event()
7171
if self._fut is not None:
72+
7273
@self._fut.add_done_callback
7374
def propagate_cancel(f):
7475
if f.cancelled():

0 commit comments

Comments
 (0)