From c1ae7d75343e777df0c801789bca5a76f3b5cf5d Mon Sep 17 00:00:00 2001 From: Sky <51057802+IlysvlVEizbr@users.noreply.github.com> Date: Wed, 14 Sep 2022 16:57:49 +0800 Subject: [PATCH] docs/library/pyb.CAN: Update the recv example to take a 5-tuple. A supplement to commit 5cdf9645711cc12b45e602ef5795c33895116fc4 --- docs/library/pyb.CAN.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/library/pyb.CAN.rst b/docs/library/pyb.CAN.rst index 54377091db..5ca00b65e5 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)