From 4552f1816b194b22befb199d0adc3a67df2344b3 Mon Sep 17 00:00:00 2001 From: Peter Hinch Date: Fri, 10 Sep 2021 14:02:35 +0100 Subject: [PATCH] docs/library/machine.I2S.rst: Specify that I2S.shift args are kw-only. --- docs/library/machine.I2S.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/library/machine.I2S.rst b/docs/library/machine.I2S.rst index 45877a5ae0..d64fba33e4 100644 --- a/docs/library/machine.I2S.rst +++ b/docs/library/machine.I2S.rst @@ -134,7 +134,7 @@ Methods Setting a callback changes the ``write`` and ``readinto`` methods to non-blocking operation. ``handler`` is called in the context of the MicroPython scheduler. -.. staticmethod:: I2S.shift(buf, bits, shift) +.. staticmethod:: I2S.shift(*, buf, bits, shift) bitwise shift of all samples contained in ``buf``. ``bits`` specifies sample size in bits. ``shift`` specifies the number of bits to shift each sample. Positive for left shift, negative for right shift.