summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/machine.SPI.rst
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-06-09 03:03:53 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-06-09 03:03:53 +0300
commit79b40d11276b2b70b2eaa2fe0cac4d3d830c19e4 (patch)
tree6fac3aa3d59301d621896e7597bfbd12d810c43c /docs/library/machine.SPI.rst
parenta0c296f6d515b0a18306213cf64d9580875448f6 (diff)
downloadmicropython-79b40d11276b2b70b2eaa2fe0cac4d3d830c19e4.tar.gz
micropython-79b40d11276b2b70b2eaa2fe0cac4d3d830c19e4.zip
docs/machine*: Remove explicit targets and "machine." prefixes on classes.
With currentmodule:: set properly, none are needed. Extra "machine." prefix produces wrong indexing data.
Diffstat (limited to 'docs/library/machine.SPI.rst')
-rw-r--r--docs/library/machine.SPI.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/library/machine.SPI.rst b/docs/library/machine.SPI.rst
index 8e66660768..f3c95181dc 100644
--- a/docs/library/machine.SPI.rst
+++ b/docs/library/machine.SPI.rst
@@ -1,5 +1,4 @@
.. currentmodule:: machine
-.. _machine.SPI:
class SPI -- a master-driven serial protocol
============================================
@@ -24,7 +23,7 @@ Constructors
.. only:: port_wipy
- .. class:: machine.SPI(id, ...)
+ .. class:: SPI(id, ...)
Construct an SPI object on the given bus. ``id`` can be only 0.
With no additional parameters, the SPI object is created but not