summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/machine.Pin.rst
diff options
context:
space:
mode:
authorZenix27 <30363000+Zenix27@users.noreply.github.com>2020-07-11 12:23:26 +0530
committerDamien George <damien@micropython.org>2020-08-21 12:24:13 +1000
commite76c7466b62c940150cf1b5000e18f60a5efa2e3 (patch)
tree0ced7b7a5eb3f5efb6524ca1cf65bd0188b57bc5 /docs/library/machine.Pin.rst
parent17689a71f66bcf96c09f8700fa3e0f5aa5be225c (diff)
downloadmicropython-e76c7466b62c940150cf1b5000e18f60a5efa2e3.tar.gz
micropython-e76c7466b62c940150cf1b5000e18f60a5efa2e3.zip
docs: Change `\*` to `*` in argument lists.
Latest versions of Sphinx (at least 3.1.0) do not need the `*` escaped and will render the `\` in the output if it is there, so remove it. Fixes issue #6209.
Diffstat (limited to 'docs/library/machine.Pin.rst')
-rw-r--r--docs/library/machine.Pin.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/library/machine.Pin.rst b/docs/library/machine.Pin.rst
index 3055491ebb..095240fe14 100644
--- a/docs/library/machine.Pin.rst
+++ b/docs/library/machine.Pin.rst
@@ -42,7 +42,7 @@ Usage Model::
Constructors
------------
-.. class:: Pin(id, mode=-1, pull=-1, \*, value, drive, alt)
+.. class:: Pin(id, mode=-1, pull=-1, *, value, drive, alt)
Access the pin peripheral (GPIO pin) associated with the given ``id``. If
additional arguments are given in the constructor then they are used to initialise
@@ -106,7 +106,7 @@ Constructors
Methods
-------
-.. method:: Pin.init(mode=-1, pull=-1, \*, value, drive, alt)
+.. method:: Pin.init(mode=-1, pull=-1, *, value, drive, alt)
Re-initialise the pin using the given parameters. Only those arguments that
are specified will be set. The rest of the pin peripheral state will remain
@@ -179,7 +179,7 @@ Methods
Availability: WiPy.
-.. method:: Pin.irq(handler=None, trigger=(Pin.IRQ_FALLING | Pin.IRQ_RISING), \*, priority=1, wake=None, hard=False)
+.. method:: Pin.irq(handler=None, trigger=(Pin.IRQ_FALLING | Pin.IRQ_RISING), *, priority=1, wake=None, hard=False)
Configure an interrupt handler to be called when the trigger source of the
pin is active. If the pin mode is ``Pin.IN`` then the trigger source is