Files
micropython/docs/library
Andrew Leech 586ad0dd70 docs/library/io: Add documentation for the io.IOBase class.
Document the three methods that IOBase subclasses implement (readinto,
write, ioctl) and the common ioctl operations. Includes a simple write-only
stream example and a pollable ring buffer example.

IOBase docs are inline in io.rst before StringIO/BytesIO, following
CPython's structure.

Also fix a statement in io.rst that incorrectly claimed streams cannot be
subclassed in pure Python.

Signed-off-by: Andrew Leech <andrew.leech@planet-innovation.com>
2026-05-01 15:54:33 +10:00
..
2026-02-07 00:45:04 +11:00