diff options
| author | Sky <51057802+IlysvlVEizbr@users.noreply.github.com> | 2022-09-14 16:57:49 +0800 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-11-15 22:50:17 +1100 |
| commit | c1ae7d75343e777df0c801789bca5a76f3b5cf5d (patch) | |
| tree | 3e4c78d6d9199547d61c772fd9072ea5482ef37f /docs/library | |
| parent | d2f8127258d91e4af5f5880e3519fc6d5cf879d9 (diff) | |
docs/library/pyb.CAN: Update the recv example to take a 5-tuple.
A supplement to commit 5cdf9645711cc12b45e602ef5795c33895116fc4
Diffstat (limited to 'docs/library')
| -rw-r--r-- | docs/library/pyb.CAN.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/library/pyb.CAN.rst b/docs/library/pyb.CAN.rst index 54377091d..5ca00b65e 100644 --- a/docs/library/pyb.CAN.rst +++ b/docs/library/pyb.CAN.rst @@ -252,7 +252,7 @@ Methods For example:: buf = bytearray(8) - lst = [0, 0, 0, memoryview(buf)] + lst = [0, 0, 0, 0, memoryview(buf)] # No heap memory is allocated in the following call can.recv(0, lst) |
