Skip to content

Commit 4552f18

Browse files
peterhinchdpgeorge
authored andcommitted
docs/library/machine.I2S.rst: Specify that I2S.shift args are kw-only.
1 parent c7842f4 commit 4552f18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/library/machine.I2S.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Methods
134134
Setting a callback changes the ``write`` and ``readinto`` methods to non-blocking operation.
135135
``handler`` is called in the context of the MicroPython scheduler.
136136

137-
.. staticmethod:: I2S.shift(buf, bits, shift)
137+
.. staticmethod:: I2S.shift(*, buf, bits, shift)
138138

139139
bitwise shift of all samples contained in ``buf``. ``bits`` specifies sample size in bits. ``shift`` specifies the number of bits to shift each sample.
140140
Positive for left shift, negative for right shift.

0 commit comments

Comments
 (0)