summaryrefslogtreecommitdiff
path: root/docs/library
diff options
context:
space:
mode:
authorchuangjinglu <chuangjinglu@outlook.com>2024-11-25 11:06:15 +0800
committerDamien George <damien@micropython.org>2024-11-30 13:08:33 +1100
commit2e796d6c3e33e2d3b1936cd05aa926400ad1d5b7 (patch)
treed8da1231caa87036fe1724640efa1efb2e74538b /docs/library
parent3de3821abf7e245566be227c9799b74d6b80aae3 (diff)
docs,ports: Fix some comments and error messages with doubled-up words.
Signed-off-by: chuangjinglu <chuangjinglu@outlook.com>
Diffstat (limited to 'docs/library')
-rw-r--r--docs/library/bluetooth.rst2
-rw-r--r--docs/library/machine.TimerWiPy.rst2
-rw-r--r--docs/library/pyb.Timer.rst2
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/library/bluetooth.rst b/docs/library/bluetooth.rst
index f8b154dd1..b09c370ab 100644
--- a/docs/library/bluetooth.rst
+++ b/docs/library/bluetooth.rst
@@ -665,7 +665,7 @@ L2CAP connection-oriented-channels
Connect to a listening peer on the specified *psm* with local MTU set to *mtu*.
- On successful connection, the the ``_IRQ_L2CAP_CONNECT`` event will be
+ On successful connection, the ``_IRQ_L2CAP_CONNECT`` event will be
raised, allowing the client to obtain the CID and the local and remote (peer) MTU.
An unsuccessful connection will raise the ``_IRQ_L2CAP_DISCONNECT`` event
diff --git a/docs/library/machine.TimerWiPy.rst b/docs/library/machine.TimerWiPy.rst
index f8c8bb29d..54280a599 100644
--- a/docs/library/machine.TimerWiPy.rst
+++ b/docs/library/machine.TimerWiPy.rst
@@ -71,7 +71,7 @@ Methods
Otherwise, a TimerChannel object is initialized and returned.
- The operating mode is is the one configured to the Timer object that was used to
+ The operating mode is the one configured to the Timer object that was used to
create the channel.
- ``channel`` if the width of the timer is 16-bit, then must be either ``TIMER.A``, ``TIMER.B``.
diff --git a/docs/library/pyb.Timer.rst b/docs/library/pyb.Timer.rst
index 1749efce2..c644e38d7 100644
--- a/docs/library/pyb.Timer.rst
+++ b/docs/library/pyb.Timer.rst
@@ -163,7 +163,7 @@ Methods
- ``callback`` - as per TimerChannel.callback()
- ``pin`` None (the default) or a Pin object. If specified (and not None)
- this will cause the alternate function of the the indicated pin
+ this will cause the alternate function of the indicated pin
to be configured for this timer channel. An error will be raised if
the pin doesn't support any alternate functions for this timer channel.