Skip to content

Commit 3e4731c

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents bbd4fe8 + 50457e9 commit 3e4731c

File tree

1 file changed

+3
-1
lines changed
  • shared-bindings/busio

1 file changed

+3
-1
lines changed

shared-bindings/busio/SPI.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,9 @@ MP_DEFINE_CONST_FUN_OBJ_KW(busio_spi_write_obj, 1, busio_spi_write);
299299
//|
300300
//| :param WriteableBuffer buffer: read bytes into this buffer
301301
//| :param int start: beginning of buffer slice
302-
//| :param int end: end of buffer slice; if not specified, use ``len(buffer)``
302+
//| :param int end: end of buffer slice; if not specified, it will be the equivalent value
303+
//| of ``len(buffer)`` and for any value provided it will take the value of
304+
//| ``min(end, len(buffer))``
303305
//| :param int write_value: value to write while reading
304306
//| """
305307
//| ...

0 commit comments

Comments
 (0)