summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-04-18 15:39:27 +1000
committerDamien George <damien.p.george@gmail.com>2017-04-18 15:39:27 +1000
commit850f79e552a170912cfd88f5001a9ac343a22f5d (patch)
treee67f21018515fbebc9da40d2a450cf2c5d44cc95 /docs/library
parent9d7c53734c5eee6b4fbcc18be59148bbdaf95a1d (diff)
downloadmicropython-850f79e552a170912cfd88f5001a9ac343a22f5d.tar.gz
micropython-850f79e552a170912cfd88f5001a9ac343a22f5d.zip
docs/library/machine.I2C: Remove WiPy-specific return values.
cc3200 has been updated to conform to the API and now returns None.
Diffstat (limited to 'docs/library')
-rw-r--r--docs/library/machine.I2C.rst6
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/library/machine.I2C.rst b/docs/library/machine.I2C.rst
index e2eb62ca37..a1b4178905 100644
--- a/docs/library/machine.I2C.rst
+++ b/docs/library/machine.I2C.rst
@@ -160,8 +160,7 @@ methods are convenience functions to communicate with such devices.
The argument `addrsize` specifies the address size in bits (on ESP8266
this argument is not recognised and the address size is always 8 bits).
- On WiPy the return value is the number of bytes read. Otherwise the
- return value is `None`.
+ The method returns `None`.
.. method:: I2C.writeto_mem(addr, memaddr, buf, \*, addrsize=8)
@@ -170,5 +169,4 @@ methods are convenience functions to communicate with such devices.
The argument `addrsize` specifies the address size in bits (on ESP8266
this argument is not recognised and the address size is always 8 bits).
- On WiPy the return value is the number of bytes written. Otherwise the
- return value is `None`.
+ The method returns `None`.