diff options
author | Damien George <damien@micropython.org> | 2025-09-13 19:33:34 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-09-26 00:24:08 +1000 |
commit | 2373340aa342dbd30e1482cf431895f808d863b2 (patch) | |
tree | e14f97618f119388a9da7b634d565549df573b62 /tests/esp32/check_err_str.py.exp | |
parent | 10b3d96b607404e5d73cb43c9d587ddb1f5665fc (diff) |
py/stream: Reuse write implementation for readinto.
This commit refactors some common code in the core stream implementation,
to reduce code size while retaining the same functionality.
With the factoring, `readinto`/`readinto1` could now support an additional
4th argument (like write) but it's best not to introduce even more CPython
incompatibility, so they are left as having a maximum of 3 args.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/esp32/check_err_str.py.exp')
0 files changed, 0 insertions, 0 deletions