Skip to content

Commit ab8331e

Browse files
Clearer phrasing. (#59)
Talking about byte size wasn't clear to a translator. Align the terminology with upstream MicroPython. We also considered using "word" but didn't have a strong view in favour of it and it's yet another term.
1 parent adbc2c0 commit ab8331e

File tree

1 file changed

+1
-1
lines changed
  • lang/en/typeshed/stdlib/microbit

1 file changed

+1
-1
lines changed

lang/en/typeshed/stdlib/microbit/spi.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def init(
1919
For correct communication, the parameters have to be the same on both communicating devices.
2020
2121
:param baudrate: The speed of communication.
22-
:param bits: The size of bytes being transmitted. Currently only ``bits=8`` is supported. However, this may change in the future.
22+
:param bits: The width in bits of each transfer. Currently only ``bits=8`` is supported. However, this may change in the future.
2323
:param mode: Determines the combination of clock polarity and phase - `see online table <https://microbit-micropython.readthedocs.io/en/v2-docs/spi.html#microbit.spi.init>`_.
2424
:param sclk: sclk pin (default 13)
2525
:param mosi: mosi pin (default 15)

0 commit comments

Comments
 (0)