We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ce5f8ac + 365a69a commit 5b4e768Copy full SHA for 5b4e768
1 file changed
trio_asyncio/util.py
@@ -77,7 +77,7 @@ def abort_cb(raise_cancel_arg):
77
asyncio.ensure_future(consume_next(), loop=loop)
78
79
item = await trio.hazmat.wait_task_rescheduled(abort_cb)
80
- if item == STOP:
+ if item is STOP:
81
break
82
yield item
83
0 commit comments