From e73c5c768bff365b8a659a0184694ec6f9e7c98c Mon Sep 17 00:00:00 2001 From: Alec Delaney Date: Tue, 19 Apr 2022 11:23:39 -0400 Subject: [PATCH] Update documentation for end param in SPI.readinto() --- shared-bindings/busio/SPI.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shared-bindings/busio/SPI.c b/shared-bindings/busio/SPI.c index df364fcbb9..92fff7e571 100644 --- a/shared-bindings/busio/SPI.c +++ b/shared-bindings/busio/SPI.c @@ -299,7 +299,9 @@ MP_DEFINE_CONST_FUN_OBJ_KW(busio_spi_write_obj, 1, busio_spi_write); //| //| :param WriteableBuffer buffer: read bytes into this buffer //| :param int start: beginning of buffer slice -//| :param int end: end of buffer slice; if not specified, use ``len(buffer)`` +//| :param int end: end of buffer slice; if not specified, it will be the equivalent value +//| of ``len(buffer)`` and for any value provided it will take the value of +//| ``min(end, len(buffer))`` //| :param int write_value: value to write while reading //| """ //| ...