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

A supplement to commit 5cdf964571
pull/9311/head
Sky 2022-09-14 16:57:49 +08:00 zatwierdzone przez Damien George
rodzic d2f8127258
commit c1ae7d7534
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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