summaryrefslogtreecommitdiff
path: root/docs/library
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library')
-rw-r--r--docs/library/pyb.SPI.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/library/pyb.SPI.rst b/docs/library/pyb.SPI.rst
index 73783c7d5..b17c804d7 100644
--- a/docs/library/pyb.SPI.rst
+++ b/docs/library/pyb.SPI.rst
@@ -33,9 +33,9 @@ Constructors
.. class:: pyb.SPI(bus, ...)
- Construct an SPI object on the given bus. ``bus`` can be 1 or 2.
- With no additional parameters, the SPI object is created but not
- initialised (it has the settings from the last initialisation of
+ Construct an SPI object on the given bus. ``bus`` can be 1 or 2, or
+ 'X' or 'Y'. With no additional parameters, the SPI object is created but
+ not initialised (it has the settings from the last initialisation of
the bus, if any). If extra arguments are given, the bus is initialised.
See ``init`` for parameters of initialisation.