Files
micropython/docs/library
Angus Gratton cda49bed27 py/objlist,stm32,esp32: Add helpers for creating/ensuring list args.
Simplifies the pattern of an optional arg which can be a list of at
least a certain length, otherwise one is lazily initialised.

Modify pyb.CAN and ESP-NOW APIs to use the helper. Note this changes
the return type of pyb.CAN.recv() from tuple to list.

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2026-03-19 15:37:19 +11:00
..
2026-02-07 00:45:04 +11:00