Skip to content

Commit c1ae7d7

Browse files
IlysvlVEizbrdpgeorge
authored andcommitted
docs/library/pyb.CAN: Update the recv example to take a 5-tuple.
A supplement to commit 5cdf964
1 parent d2f8127 commit c1ae7d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/library/pyb.CAN.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ Methods
252252
For example::
253253

254254
buf = bytearray(8)
255-
lst = [0, 0, 0, memoryview(buf)]
255+
lst = [0, 0, 0, 0, memoryview(buf)]
256256
# No heap memory is allocated in the following call
257257
can.recv(0, lst)
258258

0 commit comments

Comments
 (0)