From 79b40d11276b2b70b2eaa2fe0cac4d3d830c19e4 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 9 Jun 2016 03:03:53 +0300 Subject: docs/machine*: Remove explicit targets and "machine." prefixes on classes. With currentmodule:: set properly, none are needed. Extra "machine." prefix produces wrong indexing data. --- docs/library/machine.I2C.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'docs/library/machine.I2C.rst') diff --git a/docs/library/machine.I2C.rst b/docs/library/machine.I2C.rst index 2f020f6d4..b3bfa68f0 100644 --- a/docs/library/machine.I2C.rst +++ b/docs/library/machine.I2C.rst @@ -1,5 +1,4 @@ .. currentmodule:: machine -.. _machine.I2C: class I2C -- a two-wire serial protocol ======================================= @@ -45,14 +44,14 @@ Constructors .. only:: port_wipy - .. class:: machine.I2C(bus, ...) + .. class:: I2C(bus, ...) Construct an I2C object on the given bus. `bus` can only be 0. If the bus is not given, the default one will be selected (0). .. only:: port_esp8266 - .. class:: machine.I2C(scl, sda, \*, freq=400000) + .. class:: I2C(scl, sda, \*, freq=400000) Construct and return a new I2C object. See the init method below for a description of the arguments. -- cgit v1.2.3