docs/library/pyb.CAN: Update the recv example to take a 5-tuple.

A supplement to commit 5cdf9645711cc12b45e602ef5795c33895116fc4
This commit is contained in:
Sky 2022-09-14 16:57:49 +08:00 committed by Damien George
parent d2f8127258
commit c1ae7d7534

View File

@ -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)