Skip to content

Commit 825d38c

Browse files
committed
TUTORIAL: Fix MillisecTimer demo.
1 parent 732c888 commit 825d38c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

v3/docs/TUTORIAL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2267,8 +2267,8 @@ class MyIO(io.IOBase):
22672267
return ret
22682268
```
22692269

2270-
The following is a complete awaitable delay class:
2271-
2270+
The following is a complete awaitable delay class. Please note that it does not
2271+
run on the Unix port (under investigation).
22722272
```python
22732273
import uasyncio as asyncio
22742274
import utime
@@ -2290,7 +2290,7 @@ class MillisecTimer(io.IOBase):
22902290
return self
22912291

22922292
def read(self, _):
2293-
pass
2293+
return "a"
22942294

22952295
def ioctl(self, req, arg):
22962296
ret = MP_STREAM_ERROR

0 commit comments

Comments
 (0)