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.
1 parent 3772c91 commit 365a69aCopy full SHA for 365a69a
1 file changed
trio_asyncio/util.py
@@ -76,7 +76,7 @@ def abort_cb(raise_cancel_arg):
76
asyncio.ensure_future(consume_next(), loop=loop)
77
78
item = await trio.hazmat.wait_task_rescheduled(abort_cb)
79
- if item == STOP:
+ if item is STOP:
80
break
81
yield item
82
0 commit comments