Skip to content

Commit 1216638

Browse files
committed
EVENTS.md: Fix bug in wait_any example.
1 parent 2d7881f commit 1216638

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v3/docs/EVENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ the instance's `.event()` method.
165165
```python
166166
from primitives import WaitAny
167167
async def foo(elo1, elo2)
168-
evt = WaitAny((elo1, elo2)).wait()
168+
evt = await WaitAny((elo1, elo2)).wait()
169169
if evt is elo1:
170170
# Handle elo1
171171
```

0 commit comments

Comments
 (0)