Skip to content

Commit f95705d

Browse files
committed
TUTORIAL: Section 6.3 add Unix disclaimer.
1 parent 825d38c commit f95705d

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

v3/docs/TUTORIAL.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2126,7 +2126,13 @@ asyncio.run(run())
21262126

21272127
## 6.3 Using the stream mechanism
21282128

2129-
This can be illustrated using a Pyboard UART. The following code sample
2129+
This section applies to platforms other than the Unix build. The latter handles
2130+
stream I/O in a different way described
2131+
[here](https://github.com/micropython/micropython/issues/7965#issuecomment-960259481).
2132+
Code samples may not run under the Unix build until it is made more compatible
2133+
with other platforms.
2134+
2135+
The stream mechanism can be illustrated using a Pyboard UART. This code sample
21302136
demonstrates concurrent I/O on one UART. To run, link Pyboard pins X1 and X2
21312137
(UART Txd and Rxd).
21322138

@@ -2267,8 +2273,7 @@ class MyIO(io.IOBase):
22672273
return ret
22682274
```
22692275

2270-
The following is a complete awaitable delay class. Please note that it does not
2271-
run on the Unix port (under investigation).
2276+
The following is a complete awaitable delay class.
22722277
```python
22732278
import uasyncio as asyncio
22742279
import utime

0 commit comments

Comments
 (0)