We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cc4bdb commit 28936b4Copy full SHA for 28936b4
1 file changed
asyncio/event.py
@@ -58,7 +58,7 @@ async def wait(self):
58
self.waiting.push_head(core.cur_task)
59
# Set calling task's data to the event's queue so it can be removed if needed
60
core.cur_task.data = self.waiting
61
- yield
+ core.sleep(0)
62
return True
63
64
0 commit comments