Skip to content

Commit 5b4e768

Browse files
committed
Merge pull request #16
2 parents ce5f8ac + 365a69a commit 5b4e768

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

trio_asyncio/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def abort_cb(raise_cancel_arg):
7777
asyncio.ensure_future(consume_next(), loop=loop)
7878

7979
item = await trio.hazmat.wait_task_rescheduled(abort_cb)
80-
if item == STOP:
80+
if item is STOP:
8181
break
8282
yield item
8383

0 commit comments

Comments
 (0)