docs: Fix spelling in various parts of the docs.

This commit is contained in:
Mike Causer
2019-02-13 12:29:01 +11:00
committed by Damien George
parent 5a8f392f09
commit a2c4cb484d
9 changed files with 14 additions and 14 deletions

View File

@@ -140,7 +140,7 @@ The above may also happen after an application terminates and quits to the REPL
for any reason including an exception. Subsequent arrival of data provokes the
failure with the above error message repeatedly issued. So, sockets should be
closed in any case, regardless whether an application terminates successfully
or by an exeption, for example using try/finally::
or by an exception, for example using try/finally::
sock = socket(...)
try:

View File

@@ -188,7 +188,7 @@ class::
spi.init(baudrate=200000) # set the baudrate
spi.read(10) # read 10 bytes on MISO
spi.read(10, 0xff) # read 10 bytes while outputing 0xff on MOSI
spi.read(10, 0xff) # read 10 bytes while outputting 0xff on MOSI
buf = bytearray(50) # create a buffer
spi.readinto(buf) # read into the given buffer (reads 50 bytes in this case)