summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/uasyncio/event.py
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/uasyncio/event.py')
-rw-r--r--extmod/uasyncio/event.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/extmod/uasyncio/event.py b/extmod/uasyncio/event.py
index 43d47eb5f0..8a90534590 100644
--- a/extmod/uasyncio/event.py
+++ b/extmod/uasyncio/event.py
@@ -40,9 +40,9 @@ class Event:
# that asyncio will poll until a flag is set.
# Note: Unlike Event, this is self-clearing after a wait().
try:
- import uio
+ import io
- class ThreadSafeFlag(uio.IOBase):
+ class ThreadSafeFlag(io.IOBase):
def __init__(self):
self.state = 0